This gets rid of the hardcoded 'r0' that was used previously.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AVR/AVRExpandPseudoInsts.cpp | ||
---|---|---|
691 ↗ | (On Diff #80723) | What if the register pressure is so high that no register is available? I'd suggest at least to insert an assert here. Note that Scavenger has a way to deal with this issue via spilling. You'd need to have a spare slot for this though. |