Jim Grosbach | e6be85e | 2010-09-17 22:36:38 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6,+vfp2 | FileCheck %s |
Evan Cheng | e7d6df7 | 2009-06-13 09:12:55 +0000 | [diff] [blame] | 2 | |
| 3 | @"\01LC" = internal constant [32 x i8] c"Boolean Not: %d %d %d %d %d %d\0A\00", section "__TEXT,__cstring,cstring_literals" ; <[32 x i8]*> [#uses=1] |
| 4 | @"\01LC1" = internal constant [26 x i8] c"Bitwise Not: %d %d %d %d\0A\00", section "__TEXT,__cstring,cstring_literals" ; <[26 x i8]*> [#uses=1] |
| 5 | |
| 6 | declare i32 @printf(i8* nocapture, ...) nounwind |
| 7 | |
| 8 | define i32 @main() nounwind { |
| 9 | entry: |
Jim Grosbach | e6be85e | 2010-09-17 22:36:38 +0000 | [diff] [blame] | 10 | ; CHECK: main |
| 11 | ; CHECK: push |
| 12 | ; CHECK: stmib |
Evan Cheng | e7d6df7 | 2009-06-13 09:12:55 +0000 | [diff] [blame] | 13 | %0 = tail call i32 (i8*, ...)* @printf(i8* getelementptr ([26 x i8]* @"\01LC1", i32 0, i32 0), i32 -2, i32 -3, i32 2, i32 -6) nounwind ; <i32> [#uses=0] |
| 14 | %1 = tail call i32 (i8*, ...)* @printf(i8* getelementptr ([32 x i8]* @"\01LC", i32 0, i32 0), i32 0, i32 1, i32 0, i32 1, i32 0, i32 1) nounwind ; <i32> [#uses=0] |
| 15 | ret i32 0 |
| 16 | } |