[PowerPC][NFC] fix the LIT regressions
authorChen Zheng <czhengsz@cn.ibm.com>
Mon, 7 Nov 2022 09:10:06 +0000 (04:10 -0500)
committerChen Zheng <czhengsz@cn.ibm.com>
Mon, 7 Nov 2022 09:17:14 +0000 (04:17 -0500)
This is to fix the wrong checking introdued in D64195.
`std {{[0-9]+}}, 16(1)` is the store for the lr register. It breaks
previous testing point before D64195.

llvm/test/CodeGen/PowerPC/ppc64-smallarg.ll
llvm/test/CodeGen/PowerPC/ppc64le-smallarg.ll

index af24164..0a448a9 100644 (file)
@@ -50,7 +50,7 @@ entry:
   ret void
 }
 ; CHECK: @caller2
-; CHECK: std {{[0-9]+}}, 16(1)
+; CHECK: stw {{[0-9]+}}, 156(1)
 ; CHECK: bl test2
 
 declare float @test2(float, float, float, float, float, float, float, float, float, float, float, float, float, float)
index fa2e09a..39948fe 100644 (file)
@@ -50,7 +50,7 @@ entry:
   ret void
 }
 ; CHECK: @caller2
-; CHECK: std {{[0-9]+}}, 16({{[0-9]+}})
+; CHECK: stw {{[0-9]+}}, 136({{[0-9]+}})
 ; CHECK: bl test2
 
 declare float @test2(float, float, float, float, float, float, float, float, float, float, float, float, float, float)