[llvm] eb421c0 - [PowerPC][NFC] fix the LIT regressions

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 01:17:24 PST 2022


Author: Chen Zheng
Date: 2022-11-07T04:17:14-05:00
New Revision: eb421c0c0edf8420b00bc8d51bb1160c3eda9661

URL: https://github.com/llvm/llvm-project/commit/eb421c0c0edf8420b00bc8d51bb1160c3eda9661
DIFF: https://github.com/llvm/llvm-project/commit/eb421c0c0edf8420b00bc8d51bb1160c3eda9661.diff

LOG: [PowerPC][NFC] fix the LIT regressions

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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/PowerPC/ppc64-smallarg.ll b/llvm/test/CodeGen/PowerPC/ppc64-smallarg.ll
index af24164496ff..0a448a934d74 100644
--- a/llvm/test/CodeGen/PowerPC/ppc64-smallarg.ll
+++ b/llvm/test/CodeGen/PowerPC/ppc64-smallarg.ll
@@ -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)

diff  --git a/llvm/test/CodeGen/PowerPC/ppc64le-smallarg.ll b/llvm/test/CodeGen/PowerPC/ppc64le-smallarg.ll
index fa2e09a8e4b6..39948fec8150 100644
--- a/llvm/test/CodeGen/PowerPC/ppc64le-smallarg.ll
+++ b/llvm/test/CodeGen/PowerPC/ppc64le-smallarg.ll
@@ -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)


        


More information about the llvm-commits mailing list