Tanya Lattner | 6e9bcee | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llvm-dis | not grep { bitcast (} |
Chris Lattner | 413f155 | 2003-11-12 16:40:08 +0000 | [diff] [blame] | 2 | |
Tanya Lattner | 6e9bcee | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 3 | @.Base64_1 = external constant [4 x i8] ; <[4 x i8]*> [#uses=1] |
Chris Lattner | 413f155 | 2003-11-12 16:40:08 +0000 | [diff] [blame] | 4 | |
Tanya Lattner | 6e9bcee | 2008-02-14 07:57:12 +0000 | [diff] [blame] | 5 | define 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 Lattner | 413f155 | 2003-11-12 16:40:08 +0000 | [diff] [blame] | 9 | } |
| 10 | |