[llvm-commits] CVS: llvm/test/Regression/Assembler/2003-11-12-ConstantExprCast.llx
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 12 10:41:02 PST 2003
Changes in directory llvm/test/Regression/Assembler:
2003-11-12-ConstantExprCast.llx added (r1.1)
---
Log message:
The bytecode reader/writer is borking this testcase
---
Diffs of the changes: (+10 -0)
Index: llvm/test/Regression/Assembler/2003-11-12-ConstantExprCast.llx
diff -c /dev/null llvm/test/Regression/Assembler/2003-11-12-ConstantExprCast.llx:1.1
*** /dev/null Wed Nov 12 10:40:18 2003
--- llvm/test/Regression/Assembler/2003-11-12-ConstantExprCast.llx Wed Nov 12 10:40:08 2003
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-as < %s | llvm-dis | grep ' cast ('
+
+ %.Base64_1 = external constant [4 x sbyte]
+
+ ubyte %test(sbyte %X) { ; No predecessors!
+ %X = cast sbyte %X to ubyte ; <ubyte> [#uses=1]
+ %tmp.13 = add ubyte %X, cast (sbyte sub (sbyte 0, sbyte cast ([4 x sbyte]* %.Base64_1 to sbyte)) to ubyte) ; <ubyte> [#uses=1]
+ ret ubyte %tmp.13
+ }
+
More information about the llvm-commits
mailing list