File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -232,8 +232,11 @@ bool WindowScheduler::initialize() {
232232 return false ;
233233 }
234234 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 " );
236238 return false ;
239+ }
237240 }
238241 if (SchedInstrNum <= WindowRegionLimit) {
239242 LLVM_DEBUG (dbgs () << " There are too few MIs in the window region!\n " );
Original file line number Diff line number Diff line change 33# RUN: -window-sched=force -filetype=null -verify-machineinstrs 2>&1 \
44# RUN: | FileCheck %s
55
6+ # CHECK: Physical registers are not supported in window scheduling!
67# CHECK: The WindowScheduler failed to initialize!
78
89---
You can’t perform that action at this time.
0 commit comments