[llvm-commits] CVS: llvm/test/Regression/Verifier/2004-05-21-SwitchConstantMismatch.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri May 21 11:48:01 PDT 2004
Changes in directory llvm/test/Regression/Verifier:
2004-05-21-SwitchConstantMismatch.ll added (r1.1)
---
Log message:
Testcase for PR340: http://llvm.cs.uiuc.edu/PR340 : Verifier misses malformed switch instruction
This testcase was reduced by John, thanks!
---
Diffs of the changes: (+11 -0)
Index: llvm/test/Regression/Verifier/2004-05-21-SwitchConstantMismatch.ll
diff -c /dev/null llvm/test/Regression/Verifier/2004-05-21-SwitchConstantMismatch.ll:1.1
*** /dev/null Fri May 21 11:47:13 2004
--- llvm/test/Regression/Verifier/2004-05-21-SwitchConstantMismatch.ll Fri May 21 11:47:02 2004
***************
*** 0 ****
--- 1,11 ----
+
+
+ int %main() {
+ start1:
+ switch uint 0, label %brt0 [int 3, label %brt1 ]
+ brt0:
+ ret int 0
+ brt1:
+ ret int 0
+ }
+
More information about the llvm-commits
mailing list