mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-15 04:08:07 +00:00
1ad2cb7555
load elimination code from RedundantLoadElimination. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40469 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
189 B
LLVM
10 lines
189 B
LLVM
; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep {%z2 =}
|
|
|
|
define i32 @main() {
|
|
block1:
|
|
%z1 = bitcast i32 0 to i32
|
|
br label %block2
|
|
block2:
|
|
%z2 = bitcast i32 0 to i32
|
|
ret i32 %z2
|
|
} |