diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-03-27 16:25:55 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-03-27 16:26:10 +0000 |
commit | f92fa7e2cf38341211af262b21c568bef4d76b10 (patch) | |
tree | 7d1f9ac0d78f87b5e5e4d2ac9363e0d2b674de74 | |
parent | 468c6bea2280491283e45239ad1c0ac6a59b3da8 (diff) | |
download | llvm-f92fa7e2cf38341211af262b21c568bef4d76b10.zip llvm-f92fa7e2cf38341211af262b21c568bef4d76b10.tar.gz llvm-f92fa7e2cf38341211af262b21c568bef4d76b10.tar.bz2 |
[X86] Add -verify-machineinstrs to huge stack tests
Help identify EXPENSIVE_CHECKS regressions identified in #84114
-rw-r--r-- | llvm/test/CodeGen/X86/huge-stack-offset.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/huge-stack-offset2.ll | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/huge-stack-offset.ll b/llvm/test/CodeGen/X86/huge-stack-offset.ll index 68dcfa7..e825328 100644 --- a/llvm/test/CodeGen/X86/huge-stack-offset.ll +++ b/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. diff --git a/llvm/test/CodeGen/X86/huge-stack-offset2.ll b/llvm/test/CodeGen/X86/huge-stack-offset2.ll index 3bf0260..053643eb 100644 --- a/llvm/test/CodeGen/X86/huge-stack-offset2.ll +++ b/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. |