blob: c9ad26668af76c8805d0a84b7f278129a92c589f [file] [log] [blame]
Chandler Carruth4177e6f2012-07-02 12:47:22 +00001; RUN: llvm-as < %s | llvm-dis | not grep " bitcast ("
Duncan P. N. Exon Smith13f5c582014-08-19 21:08:27 +00002; RUN: verify-uselistorder %s
Chris Lattner413f1552003-11-12 16:40:08 +00003
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00004@.Base64_1 = external constant [4 x i8] ; <[4 x i8]*> [#uses=1]
Chris Lattner413f1552003-11-12 16:40:08 +00005
Tanya Lattner6e9bcee2008-02-14 07:57:12 +00006define i8 @test(i8 %Y) {
7 %X = bitcast i8 %Y to i8 ; <i8> [#uses=1]
8 %tmp.13 = add i8 %X, sub (i8 0, i8 ptrtoint ([4 x i8]* @.Base64_1 to i8)) ; <i8> [#uses=1]
9 ret i8 %tmp.13
Chris Lattner413f1552003-11-12 16:40:08 +000010}
11