If Select pseudo instruction doesn't have use SR, then
CMP instructions are being marked as dead and later can be
removed by MachineCSE pass. This leads to incorrect code
generation.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 5847 Build 5847: arc lint + arc unit
Event Timeline
Comment Actions
Looks fine, but someone who knows the MSP430 backend better should look at this.
lib/Target/MSP430/MSP430InstrInfo.td | ||
---|---|---|
125 | Not sure this comment adds anything. |
Not sure this comment adds anything.