New testcase

llvm-svn: 6353
This commit is contained in:
Chris Lattner 2003-05-27 16:45:09 +00:00
parent 3442844742
commit 2219a0db96
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
; RUN: as < %s | opt -instcombine -disable-output
%X = global int 5
long %test() {
%C = add long 1, 2
%V = add long cast(int* %X to long), %C
ret long %V
}