Skip to content

Commit 092ef55

Browse files
authored
[AArch64] Fix for misched-branch-targets.mir test
Fix test failure in non-assertion builds introduced by f1b2dd2.
1 parent 2c0b6f2 commit 092ef55

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/test/CodeGen/AArch64/misched-branch-targets.mir

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# RUN: llc -o - -run-pass=machine-scheduler -misched=shuffle %s | FileCheck %s
22
# RUN: llc -o - -run-pass=postmisched %s | FileCheck %s
33

4+
# REQUIRES: asserts
5+
# -misched=shuffle is only available with assertions enabled
6+
47
# Check that instructions that are recognized as branch targets by BTI
58
# are not reordered by machine instruction schedulers.
69

0 commit comments

Comments
 (0)