blob: 149fef2276e470903a0eeb1bdc990a92d3949610 [file] [log] [blame]
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00001; RUN: llvm-as < %s | llvm-dis | not grep { bitcast (}
Chris Lattner413f1552003-11-12 16:40:08 +00002
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00003@.Base64_1 = external constant [4 x i8] ; <[4 x i8]*> [#uses=1]
Chris Lattner413f1552003-11-12 16:40:08 +00004
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00005define i8 @test(i8 %Y) {
6 %X = bitcast i8 %Y to i8 ; <i8> [#uses=1]
7 %tmp.13 = add i8 %X, sub (i8 0, i8 ptrtoint ([4 x i8]* @.Base64_1 to i8)) ; <i8> [#uses=1]
8 ret i8 %tmp.13
Chris Lattner413f1552003-11-12 16:40:08 +00009}
10