llvm-project
42d9232a - [TargetInstrInfo][NFC] Don't restrict isAddImmediate description to physical registers (#72357)

Commit
2 years ago
[TargetInstrInfo][NFC] Don't restrict isAddImmediate description to physical registers (#72357) None of the in-tree implementations have different behaviour for physical vs virtual registers, and it seems would work equally well if used with virtual registers. As such, perhaps it's simplest to just drop that part of the doc comment.
Author
asb asb
Parents
Loading