[llvm] b97527f - Fix test failure from 945f6e65be0d20b3446e7c1537c64151de618af4

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 13:10:07 PDT 2023


Author: Aaron Ballman
Date: 2023-05-09T16:09:55-04:00
New Revision: b97527f14459ef89bc94d652fcf94ba91b61b34c

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

LOG: Fix test failure from 945f6e65be0d20b3446e7c1537c64151de618af4

It seems we were testing the behavior of the debug messages!

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/warn-stack.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/warn-stack.ll b/llvm/test/CodeGen/X86/warn-stack.ll
index 6bed7a0ad547..5558683c870a 100644
--- a/llvm/test/CodeGen/X86/warn-stack.ll
+++ b/llvm/test/CodeGen/X86/warn-stack.ll
@@ -12,7 +12,6 @@ entry:
 }
 
 ; CHECK: warning: <unknown>:0:0: stack frame size ([[STCK:[0-9]+]]) exceeds limit (80) in function 'warn'
-; CHECK: {{[0-9]+}}/[[STCK]] ({{.*}}%) spills, {{[0-9]+}}/[[STCK]] ({{.*}}%) variables
 define void @warn() nounwind ssp "warn-stack-size"="80" {
 entry:
   %buffer = alloca [80 x i8], align 1
@@ -26,7 +25,6 @@ entry:
 ; warning threshold
 
 ; CHECK: warning: <unknown>:0:0: stack frame size ([[STCK:[0-9]+]]) exceeds limit (80) in function 'warn_safestack'
-; CHECK: {{[0-9]+}}/[[STCK]] ({{.*}}%) spills, {{[0-9]+}}/[[STCK]] ({{.*}}%) variables, {{[0-9]+}}/[[STCK]] ({{.*}}%) unsafe stack
 define i32 @warn_safestack() nounwind ssp safestack "warn-stack-size"="80" {
 entry:
   %var = alloca i32, align 4


        


More information about the llvm-commits mailing list