[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll
Robert Bocchino
bocchino at cs.uiuc.edu
Tue Jul 27 13:50:12 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2004-07-27-ConstantExprMul.ll added (r1.1)
---
Log message:
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll:1.1
*** /dev/null Tue Jul 27 15:50:12 2004
--- llvm/test/Regression/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll Tue Jul 27 15:50:02 2004
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | opt -instcombine -disable-output
+
+ %p = weak global int 0
+
+ int %test(int %x) {
+ %y = mul int %x, cast (int* %p to int)
+ ret int %y
+ }
More information about the llvm-commits
mailing list