diff options
Diffstat (limited to 'test/CodeGen/Hexagon/i8_VarArg.ll')
-rw-r--r-- | test/CodeGen/Hexagon/i8_VarArg.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/CodeGen/Hexagon/i8_VarArg.ll b/test/CodeGen/Hexagon/i8_VarArg.ll index 6f056ff..7283ba4 100644 --- a/test/CodeGen/Hexagon/i8_VarArg.ll +++ b/test/CodeGen/Hexagon/i8_VarArg.ll @@ -20,8 +20,8 @@ declare i32 @printf(i8*, ...) define i32 @main() { - %a = load double* @A - %b = load double* @B + %a = load double, double* @A + %b = load double, double* @B %lt_r = fcmp olt double %a, %b %le_r = fcmp ole double %a, %b %gt_r = fcmp ogt double %a, %b @@ -29,12 +29,12 @@ define i32 @main() { %eq_r = fcmp oeq double %a, %b %ne_r = fcmp une double %a, %b %val1 = zext i1 %lt_r to i8 - %lt_s = getelementptr [12 x i8]* @lt_str, i64 0, i64 0 - %le_s = getelementptr [13 x i8]* @le_str, i64 0, i64 0 - %gt_s = getelementptr [12 x i8]* @gt_str, i64 0, i64 0 - %ge_s = getelementptr [13 x i8]* @ge_str, i64 0, i64 0 - %eq_s = getelementptr [13 x i8]* @eq_str, i64 0, i64 0 - %ne_s = getelementptr [13 x i8]* @ne_str, i64 0, i64 0 + %lt_s = getelementptr [12 x i8], [12 x i8]* @lt_str, i64 0, i64 0 + %le_s = getelementptr [13 x i8], [13 x i8]* @le_str, i64 0, i64 0 + %gt_s = getelementptr [12 x i8], [12 x i8]* @gt_str, i64 0, i64 0 + %ge_s = getelementptr [13 x i8], [13 x i8]* @ge_str, i64 0, i64 0 + %eq_s = getelementptr [13 x i8], [13 x i8]* @eq_str, i64 0, i64 0 + %ne_s = getelementptr [13 x i8], [13 x i8]* @ne_str, i64 0, i64 0 call i32 (i8*, ...)* @printf( i8* %lt_s, i8 %val1 ) ret i32 0 } |