mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Testcase for a new instcombine xform, patch contributed by Nick Lewycky!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28449 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
243be2c80d
commit
b464997bba
@ -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…
x
Reference in New Issue
Block a user