[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll

Chris Lattner lattner at cs.uiuc.edu
Mon Nov 3 12:34:01 PST 2003


Changes in directory llvm/test/Regression/Transforms/InstCombine:

2003-11-03-VarargsCallBug.ll added (r1.1)

---
Log message:

New testcase for a bug in instcombine


---
Diffs of the changes:  (+13 -0)

Index: llvm/test/Regression/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll:1.1
*** /dev/null	Mon Nov  3 12:33:55 2003
--- llvm/test/Regression/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll	Mon Nov  3 12:33:44 2003
***************
*** 0 ****
--- 1,13 ----
+ ; The cast in this testcase is not eliminatable on a 32-bit target!
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep cast
+ 
+ target endian = little
+ target pointersize = 32
+ 
+ declare void %foo(...)
+ 
+ void %test(long %X) {
+ 	%Y = cast long %X to int*
+ 	call void (...)* %foo(int* %Y)
+ 	ret void
+ }





More information about the llvm-commits mailing list