1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

Testcase for a new instcombine xform, patch contributed by Nick Lewycky!

llvm-svn: 28449
This commit is contained in:
Chris Lattner 2006-05-24 17:34:02 +00:00
parent b3aa8ccfe0
commit 3bbd6b7656

View File

@ -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
}