From: Sean Fertile Date: Mon, 20 Apr 2020 17:02:07 +0000 (-0400) Subject: [PowerPC][AIX] Use a file check variable for register used in addressing. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8541a3cc9dca52933f71baa5f344a0b815638b6a;p=platform%2Fupstream%2Fllvm.git [PowerPC][AIX] Use a file check variable for register used in addressing. --- diff --git a/llvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll b/llvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll index 4dbe114..19283b2 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