[llvm-commits] CVS: llvm/test/CodeGen/ARM/2007-02-02-JoinIntervalsCrash.ll
Evan Cheng
evan.cheng at apple.com
Sat Feb 3 01:14:26 PST 2007
Changes in directory llvm/test/CodeGen/ARM:
2007-02-02-JoinIntervalsCrash.ll added (r1.1)
---
Log message:
Add a test case.
---
Diffs of the changes: (+27 -0)
2007-02-02-JoinIntervalsCrash.ll | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+)
Index: llvm/test/CodeGen/ARM/2007-02-02-JoinIntervalsCrash.ll
diff -c /dev/null llvm/test/CodeGen/ARM/2007-02-02-JoinIntervalsCrash.ll:1.1
*** /dev/null Sat Feb 3 03:14:20 2007
--- llvm/test/CodeGen/ARM/2007-02-02-JoinIntervalsCrash.ll Sat Feb 3 03:14:10 2007
***************
*** 0 ****
--- 1,27 ----
+ ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin -enable-thumb
+
+ %struct.color_sample = type { i32 }
+ %struct.ref = type { %struct.color_sample, i16, i16 }
+
+ define void @zcvrs() {
+ br i1 false, label %bb22, label %UnifiedReturnBlock
+
+ bb22:
+ br i1 false, label %bb64, label %UnifiedReturnBlock
+
+ bb64:
+ %tmp67 = urem i32 0, 0
+ %tmp69 = icmp slt i32 %tmp67, 10
+ %iftmp.13.0 = select i1 %tmp69, i8 48, i8 55
+ %tmp75 = add i8 %iftmp.13.0, 0
+ store i8 %tmp75, i8* null
+ %tmp81 = udiv i32 0, 0
+ %tmp83 = icmp eq i32 %tmp81, 0
+ br i1 %tmp83, label %bb85, label %bb64
+
+ bb85:
+ ret void
+
+ UnifiedReturnBlock:
+ ret void
+ }
More information about the llvm-commits
mailing list