diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-12 16:40:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-12 16:40:08 +0000 |
commit | f88e8d9c12f6e65685b2925f15322b1a3963e45f (patch) | |
tree | 970db078cceeb4c2985110650ea6ccfa4b3f5cc2 | |
parent | a360143bedc19375ac162f2bf82e66f5d159c9cd (diff) | |
download | bcm5719-llvm-f88e8d9c12f6e65685b2925f15322b1a3963e45f.tar.gz bcm5719-llvm-f88e8d9c12f6e65685b2925f15322b1a3963e45f.zip |
The bytecode reader/writer is borking this testcase
llvm-svn: 9919
-rw-r--r-- | llvm/test/Regression/Assembler/2003-11-12-ConstantExprCast.llx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Regression/Assembler/2003-11-12-ConstantExprCast.llx b/llvm/test/Regression/Assembler/2003-11-12-ConstantExprCast.llx new file mode 100644 index 00000000000..bceae9f3888 --- /dev/null +++ b/llvm/test/Regression/Assembler/2003-11-12-ConstantExprCast.llx @@ -0,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 +} + |