Skip to content

Commit 39811e2

Browse files
[llvm][test] enable/disable -verify-machineinstrs where possible for callbr
I introduced new tests in commit 5cc1016 ("[llvm][SelectionDAGBuilder] codegen callbr.landingpad intrinsic") https://reviews.llvm.org/D140160 that fails expensive checks. Disable -verify-machineinstrs in those tests for now. Enable it in other tests for now, since MachineVerifier isn't on by default for assertion builds. Link: llvm#60827
1 parent b05dc1b commit 39811e2

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

llvm/test/CodeGen/AArch64/callbr-asm-outputs-indirect-isel.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
22

3-
; RUN: llc -mtriple=aarch64-linux-gnu %s -o - \
3+
; RUN: llc -mtriple=aarch64-linux-gnu %s -o - -verify-machineinstrs \
44
; RUN: -start-before=aarch64-isel -stop-after=finalize-isel \
55
; RUN: -global-isel=0 -fast-isel=0 | FileCheck %s
66

llvm/test/CodeGen/PowerPC/callbr-asm-outputs-indirect-isel.ll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
; RUN: llc %s -o - -stop-after=finalize-isel -start-before=ppc-isel | FileCheck %s
2+
; RUN: llc %s -o - -verify-machineinstrs \
3+
; RUN: -stop-after=finalize-isel -start-before=ppc-isel | FileCheck %s
34

45
target datalayout = "e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512"
56
target triple = "powerpc64le-unknown-linux-gnu"

llvm/test/CodeGen/X86/callbr-asm-outputs-indirect-isel-m32.ll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2+
; FIXME(ndesaulniers): get this test to pass with -verify-machineinstrs
3+
; enabled. https://github.com/llvm/llvm-project/issues/60827
24
; RUN: llc -mtriple=i386-linux-gnu %s -o - -stop-after=finalize-isel \
3-
; RUN: -start-before=x86-isel | FileCheck %s
5+
; RUN: -verify-machineinstrs=0 -start-before=x86-isel | FileCheck %s
46

57
define i8 @emulator_cmpxchg_emulated() {
68
; CHECK-LABEL: name: emulator_cmpxchg_emulated

llvm/test/CodeGen/X86/callbr-asm-outputs-indirect-isel.ll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2+
; FIXME(ndesaulniers): get this test to pass with -verify-machineinstrs
3+
; enabled. https://github.com/llvm/llvm-project/issues/60827
24
; RUN: llc -mtriple=x86_64-linux-gnu %s -o - -stop-after=finalize-isel \
3-
; RUN: -start-before=x86-isel | FileCheck %s
5+
; RUN: -verify-machineinstrs=0 -start-before=x86-isel | FileCheck %s
46

57
; One virtual register, w/o phi
68
define i32 @test0() {

0 commit comments

Comments
 (0)