Skip to content

Commit

Permalink
[X86] Add -verify-machineinstrs to huge stack tests
Browse files Browse the repository at this point in the history
Help identify EXPENSIVE_CHECKS regressions identified in #84114
  • Loading branch information
RKSimon committed Mar 27, 2024
1 parent 468c6be commit f92fa7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions llvm/test/CodeGen/X86/huge-stack-offset.ll
@@ -1,5 +1,5 @@
; RUN: llc < %s -mtriple=x86_64-linux-unknown | FileCheck %s --check-prefix=CHECK-64
; RUN: llc < %s -mtriple=i386-linux-unknown | FileCheck %s --check-prefix=CHECK-32
; RUN: llc < %s -mtriple=x86_64-linux-unknown -verify-machineinstrs | FileCheck %s --check-prefix=CHECK-64
; RUN: llc < %s -mtriple=i386-linux-unknown -verify-machineinstrs | FileCheck %s --check-prefix=CHECK-32

; Test that a large stack offset uses a single add/sub instruction to
; adjust the stack pointer.
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/X86/huge-stack-offset2.ll
@@ -1,4 +1,4 @@
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s --check-prefix=CHECK
; RUN: llc < %s -mtriple=x86_64-linux -verify-machineinstrs | FileCheck %s --check-prefix=CHECK

; Test how we handle pathologically large stack frames when RAX is live through
; the prologue and epilogue.
Expand Down

0 comments on commit f92fa7e

Please sign in to comment.