[llvm] 8541a3c - [PowerPC][AIX] Use a file check variable for register used in addressing.
Sean Fertile via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 20 10:08:44 PDT 2020
Author: Sean Fertile
Date: 2020-04-20T13:08:09-04:00
New Revision: 8541a3cc9dca52933f71baa5f344a0b815638b6a
URL: https://github.com/llvm/llvm-project/commit/8541a3cc9dca52933f71baa5f344a0b815638b6a
DIFF: https://github.com/llvm/llvm-project/commit/8541a3cc9dca52933f71baa5f344a0b815638b6a.diff
LOG: [PowerPC][AIX] Use a file check variable for register used in addressing.
Added:
Modified:
llvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll b/llvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll
index 4dbe114956dc..19283b20026f 100644
--- a/llvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll
+++ b/llvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll
@@ -285,13 +285,13 @@ declare void @test_byval_mem4(i32, %struct_S31* byval(%struct_S31) align 1, %str
; ASM32BIT-DAG: 4, LC{{[0-9]+}}(2)
; ASM32BIT-DAG: li 5, 256
; ASM32BIT-NEXT: bl .memcpy
-; ASM32BIT-DAG: lwz 4, 0(13)
-; ASM32BIT-DAG: lwz 5, 4(13)
-; ASM32BIT-DAG: lwz 6, 8(13)
-; ASM32BIT-DAG: lwz 7, 12(13)
-; ASM32BIT-DAG: lwz 8, 16(13)
-; ASM32BIT-DAG: lwz 9, 20(13)
-; ASM32BIT-DAG: lwz 10, 24(13)
+; ASM32BIT-DAG: lwz 4, 0([[BASE:[0-9]+]])
+; ASM32BIT-DAG: lwz 5, 4([[BASE]])
+; ASM32BIT-DAG: lwz 6, 8([[BASE]])
+; ASM32BIT-DAG: lwz 7, 12([[BASE]])
+; ASM32BIT-DAG: lwz 8, 16([[BASE]])
+; ASM32BIT-DAG: lwz 9, 20([[BASE]])
+; ASM32BIT-DAG: lwz 10, 24([[BASE]])
; ASM32BIT: bl .test_byval_mem4
; ASM32BIT: addi 1, 1, 320
More information about the llvm-commits
mailing list