We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 816fde1 commit e81188dCopy full SHA for e81188d
llvm/lib/CodeGen/WindowScheduler.cpp
@@ -232,8 +232,11 @@ bool WindowScheduler::initialize() {
232
return false;
233
}
234
for (auto &Def : MI.all_defs())
235
- if (Def.isReg() && Def.getReg().isPhysical())
+ if (Def.isReg() && Def.getReg().isPhysical()) {
236
+ LLVM_DEBUG(dbgs() << "Physical registers are not supported in "
237
+ "window scheduling!\n");
238
239
+ }
240
241
if (SchedInstrNum <= WindowRegionLimit) {
242
LLVM_DEBUG(dbgs() << "There are too few MIs in the window region!\n");
llvm/test/CodeGen/Hexagon/swp-ws-fail-2.mir
@@ -3,6 +3,7 @@
3
# RUN: -window-sched=force -filetype=null -verify-machineinstrs 2>&1 \
4
# RUN: | FileCheck %s
5
6
+# CHECK: Physical registers are not supported in window scheduling!
7
# CHECK: The WindowScheduler failed to initialize!
8
9
---
0 commit comments