]> granicus.if.org Git - clang/commitdiff
[RISCV][NFC] Minor fixup for r357989
authorAlex Bradbury <asb@lowrisc.org>
Tue, 9 Apr 2019 10:25:05 +0000 (10:25 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Tue, 9 Apr 2019 10:25:05 +0000 (10:25 +0000)
One of the tests in riscv64-lp64-lp64f-lp64d would have had a different
lowering for lp64f/lp64d as a float argument was missed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357991 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c

index 792117d9e37284dd5a7de81eb1644333182ec394..f51d8252b8f47a2a75dd4985eba19defd594fa1a 100644 (file)
@@ -188,8 +188,8 @@ int f_scalar_stack_1(struct tiny a, struct small b, struct small_aligned c,
   return g + h;
 }
 
-// CHECK-LABEL: define signext i32 @f_scalar_stack_2(i32 signext %a, i128 %b, float %c, fp128 %d, <32 x i8>*, i8 zeroext %f, i8 %g, i8 %h)
-int f_scalar_stack_2(int32_t a, __int128_t b, float c, long double d, v32i8 e,
+// CHECK-LABEL: define signext i32 @f_scalar_stack_2(i32 signext %a, i128 %b, i64 %c, fp128 %d, <32 x i8>*, i8 zeroext %f, i8 %g, i8 %h)
+int f_scalar_stack_2(int32_t a, __int128_t b, int64_t c, long double d, v32i8 e,
                      uint8_t f, int8_t g, uint8_t h) {
   return g + h;
 }