r357991 - [RISCV][NFC] Minor fixup for r357989

Alex Bradbury via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 9 03:25:05 PDT 2019


Author: asb
Date: Tue Apr  9 03:25:05 2019
New Revision: 357991

URL: http://llvm.org/viewvc/llvm-project?rev=357991&view=rev
Log:
[RISCV][NFC] Minor fixup for r357989

One of the tests in riscv64-lp64-lp64f-lp64d would have had a different
lowering for lp64f/lp64d as a float argument was missed.


Modified:
    cfe/trunk/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c

Modified: cfe/trunk/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c?rev=357991&r1=357990&r2=357991&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c (original)
+++ cfe/trunk/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c Tue Apr  9 03:25:05 2019
@@ -188,8 +188,8 @@ int f_scalar_stack_1(struct tiny a, stru
   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;
 }




More information about the cfe-commits mailing list