blob: 8b3f05128bb250c7d80515424596815bde1538ce [file] [log] [blame]
Reid Spencer3da59db2006-11-27 01:05:10 +00001; RUN: llvm-as < %s | llvm-dis | grep ' bitcast ('
Chris Lattner413f1552003-11-12 16:40:08 +00002
3%.Base64_1 = external constant [4 x sbyte]
4
5ubyte %test(sbyte %X) { ; No predecessors!
6 %X = cast sbyte %X to ubyte ; <ubyte> [#uses=1]
7 %tmp.13 = add ubyte %X, cast (sbyte sub (sbyte 0, sbyte cast ([4 x sbyte]* %.Base64_1 to sbyte)) to ubyte) ; <ubyte> [#uses=1]
8 ret ubyte %tmp.13
9}
10