mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2149a9dfec
commit
7d4d6b8615
@ -20,5 +20,11 @@ define i16 @test2(i16 %a) {
|
||||
ret i16 %tmp.upgrd.3
|
||||
}
|
||||
|
||||
; PR1263
|
||||
define i32* @test3(i32* %tmp1) {
|
||||
%tmp64 = bitcast i32* %tmp1 to { i32 }* ; <{ i32 }*> [#uses=1]
|
||||
%tmp65 = getelementptr { i32 }* %tmp64, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
ret i32* %tmp65
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
; The %A getelementptr instruction should be eliminated here
|
||||
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep -v '%B' | not grep getelementptr
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep -v '%B' | not grep getelementptr &&
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep foo1
|
||||
|
||||
%Global = constant [10 x sbyte] c"helloworld"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user