blob: ce48c20f536a2987b2599e6eaf1c37f7138a9ec9 [file] [log] [blame]
Reid Spencereacb7022006-12-31 06:02:00 +00001; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | not grep ' bitcast ('
Chris Lattner413f1552003-11-12 16:40:08 +00002
3%.Base64_1 = external constant [4 x sbyte]
4
Reid Spencereacb7022006-12-31 06:02:00 +00005ubyte %test(sbyte %Y) { ; No predecessors!
6 %X = cast sbyte %Y to ubyte ; <ubyte> [#uses=1]
Chris Lattner413f1552003-11-12 16:40:08 +00007 %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