[llvm-commits] CVS: llvm/test/Regression/Transforms/Reassociate/2005-08-24-Crash.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Aug 24 10:55:07 PDT 2005
Changes in directory llvm/test/Regression/Transforms/Reassociate:
2005-08-24-Crash.ll added (r1.1)
---
Log message:
new testcase that crashes -reassociate
---
Diffs of the changes: (+12 -0)
2005-08-24-Crash.ll | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm/test/Regression/Transforms/Reassociate/2005-08-24-Crash.ll
diff -c /dev/null llvm/test/Regression/Transforms/Reassociate/2005-08-24-Crash.ll:1.1
*** /dev/null Wed Aug 24 12:55:06 2005
--- llvm/test/Regression/Transforms/Reassociate/2005-08-24-Crash.ll Wed Aug 24 12:54:56 2005
***************
*** 0 ****
--- 1,12 ----
+ ; RUN: llvm-as < %s | opt -reassociate -disable-output
+
+ void %test(int %a, int %b, int %c, int %d) {
+ %tmp.2 = xor int %a, %b ; <int> [#uses=1]
+ %tmp.5 = xor int %c, %d ; <int> [#uses=1]
+ %tmp.6 = xor int %tmp.2, %tmp.5 ; <int> [#uses=1]
+ %tmp.9 = xor int %c, %a ; <int> [#uses=1]
+ %tmp.12 = xor int %b, %d ; <int> [#uses=1]
+ %tmp.13 = xor int %tmp.9, %tmp.12 ; <int> [#uses=1]
+ %tmp.16 = xor int %tmp.6, %tmp.13 ; <int> [#uses=0]
+ ret void
+ }
More information about the llvm-commits
mailing list