Inputs to crnor can come from operands with chains so if it is being used simply to negate such an operand, the repeated input cannot be CSE'd. This patch just adds a code-gen only instruction for this that takes a single input and duplicates it in the encoding of the underlying crnor.
Details
Details
- Reviewers
chmeee craig.topper lei - Group Reviewers
Restricted Project - Commits
- rG0d253bbd3300: [PowerPC] Change CRNOT to a code gen single operand instruction
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/PowerPC/PPCInstrInfo.td | ||
---|---|---|
2484 | Looks like I accidentally removed this line. I'll get rid of the unrelated change. |
Looks like I accidentally removed this line. I'll get rid of the unrelated change.