From: Alex Bradbury Date: Tue, 9 Apr 2019 10:25:05 +0000 (+0000) Subject: [RISCV][NFC] Minor fixup for r357989 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f75f844354d62f04145d48e7259e0ea280fe82e;p=clang [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357991 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c b/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c index 792117d9e3..f51d8252b8 100644 --- a/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c +++ b/test/CodeGen/riscv64-lp64-lp64f-lp64d-abi.c @@ -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; }