File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -232,8 +232,11 @@ bool WindowScheduler::initialize() {
232
232
return false ;
233
233
}
234
234
for (auto &Def : MI.all_defs ())
235
- if (Def.isReg () && Def.getReg ().isPhysical ())
235
+ if (Def.isReg () && Def.getReg ().isPhysical ()) {
236
+ LLVM_DEBUG (dbgs () << " Physical registers are not supported in "
237
+ " window scheduling!\n " );
236
238
return false ;
239
+ }
237
240
}
238
241
if (SchedInstrNum <= WindowRegionLimit) {
239
242
LLVM_DEBUG (dbgs () << " There are too few MIs in the window region!\n " );
Original file line number Diff line number Diff line change 3
3
# RUN: -window-sched=force -filetype=null -verify-machineinstrs 2>&1 \
4
4
# RUN: | FileCheck %s
5
5
6
+ # CHECK: Physical registers are not supported in window scheduling!
6
7
# CHECK: The WindowScheduler failed to initialize!
7
8
8
9
---
You can’t perform that action at this time.
0 commit comments