Skip to content

Commit 988d84a

Browse files
committed
[CodeGen] Add machine verification to a couple of tests
This helps to provoke a couple of errors when I apply D129208 that would otherwise only show up in an LLVM_ENABLE_EXPENSIVE_CHECKS build.
1 parent 91beab6 commit 988d84a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/test/CodeGen/AArch64/regcoal-physreg.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -mtriple=aarch64-apple-ios -run-pass=simple-register-coalescing %s -o - | FileCheck %s
1+
# RUN: llc -mtriple=aarch64-apple-ios -run-pass=simple-register-coalescing -verify-machineinstrs %s -o - | FileCheck %s
22
--- |
33
declare void @f2()
44

llvm/test/CodeGen/AMDGPU/subreg-intervals.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# RUN: llc -march=amdgcn -run-pass liveintervals -debug-only=regalloc -o /dev/null %s 2>&1 | FileCheck %s
1+
# RUN: llc -march=amdgcn -run-pass liveintervals -debug-only=regalloc -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s
22
# REQUIRES: asserts
33

44
# CHECK: INTERVALS

0 commit comments

Comments
 (0)