Skip to content

Commit 767e345

Browse files
committed
[CHERI] Eliminate a divergence from upstream that does not appear to matter and does not affect any tests.
1 parent d226dbf commit 767e345

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/CodeGen/PostRASchedulerList.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,7 @@ bool PostRAScheduler::run(MachineFunction &MF) {
335335
Scheduler.Observe(MI, CurrentCount);
336336
}
337337
I = MI;
338-
// TODO: this should be upstreamed. What is the test case that broke?
339-
if (MI.isBundled())
338+
if (MI.isBundle())
340339
Count -= MI.getBundleSize();
341340
}
342341
assert(Count == 0 && "Instruction count mismatch!");

0 commit comments

Comments
 (0)