diff options
Diffstat (limited to 'llvm/test/CodeGen/RISCV/callee-saved-fpr64s.ll')
-rw-r--r-- | llvm/test/CodeGen/RISCV/callee-saved-fpr64s.ll | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/llvm/test/CodeGen/RISCV/callee-saved-fpr64s.ll b/llvm/test/CodeGen/RISCV/callee-saved-fpr64s.ll index f95bc45736a..cc51b10fee1 100644 --- a/llvm/test/CodeGen/RISCV/callee-saved-fpr64s.ll +++ b/llvm/test/CodeGen/RISCV/callee-saved-fpr64s.ll @@ -19,8 +19,8 @@ define void @callee() nounwind { ; ILP32-LP64-LABEL: callee: ; ILP32-LP64: # %bb.0: ; ILP32-LP64-NEXT: lui a0, %hi(var) -; ILP32-LP64-NEXT: fld ft0, %lo(var)(a0) ; ILP32-LP64-NEXT: addi a1, a0, %lo(var) +; ILP32-LP64-NEXT: fld ft0, %lo(var)(a0) ; ILP32-LP64-NEXT: fld ft1, 8(a1) ; ILP32-LP64-NEXT: fld ft2, 16(a1) ; ILP32-LP64-NEXT: fld ft3, 24(a1) @@ -48,14 +48,14 @@ define void @callee() nounwind { ; ILP32-LP64-NEXT: fld fs5, 200(a1) ; ILP32-LP64-NEXT: fld fs6, 208(a1) ; ILP32-LP64-NEXT: fld fs7, 216(a1) -; ILP32-LP64-NEXT: fld fs8, 248(a1) -; ILP32-LP64-NEXT: fld fs9, 240(a1) -; ILP32-LP64-NEXT: fld fs10, 232(a1) -; ILP32-LP64-NEXT: fld fs11, 224(a1) -; ILP32-LP64-NEXT: fsd fs8, 248(a1) -; ILP32-LP64-NEXT: fsd fs9, 240(a1) -; ILP32-LP64-NEXT: fsd fs10, 232(a1) -; ILP32-LP64-NEXT: fsd fs11, 224(a1) +; ILP32-LP64-NEXT: fld fs8, 224(a1) +; ILP32-LP64-NEXT: fld fs9, 232(a1) +; ILP32-LP64-NEXT: fld fs10, 240(a1) +; ILP32-LP64-NEXT: fld fs11, 248(a1) +; ILP32-LP64-NEXT: fsd fs11, 248(a1) +; ILP32-LP64-NEXT: fsd fs10, 240(a1) +; ILP32-LP64-NEXT: fsd fs9, 232(a1) +; ILP32-LP64-NEXT: fsd fs8, 224(a1) ; ILP32-LP64-NEXT: fsd fs7, 216(a1) ; ILP32-LP64-NEXT: fsd fs6, 208(a1) ; ILP32-LP64-NEXT: fsd fs5, 200(a1) @@ -102,7 +102,6 @@ define void @callee() nounwind { ; ILP32D-LP64D-NEXT: fsd fs10, 8(sp) ; ILP32D-LP64D-NEXT: fsd fs11, 0(sp) ; ILP32D-LP64D-NEXT: lui a0, %hi(var) -; ILP32D-LP64D-NEXT: fld ft0, %lo(var)(a0) ; ILP32D-LP64D-NEXT: addi a1, a0, %lo(var) %val = load [32 x double], [32 x double]* @var store volatile [32 x double] %val, [32 x double]* @var |