forked from OSchip/llvm-project
Testcase for a new instcombine xform, patch contributed by Nick Lewycky!
llvm-svn: 28449
This commit is contained in:
parent
e7549961cf
commit
fb5fc76063
|
@ -0,0 +1,8 @@
|
|||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep undef
|
||||
|
||||
%str = constant [4 x ubyte] c"str\00"
|
||||
|
||||
ubyte %main() {
|
||||
%A = load ubyte* getelementptr ([4 x ubyte]* %str, long 0, long 5)
|
||||
ret ubyte %A
|
||||
}
|
Loading…
Reference in New Issue