STRQro* instructions are slower than the alternative ADD/STRQui expanded
instructions on Falkor, so avoid generating them unless we're optimizing
for code size.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
One of the usual AArch64 suspects should confirm, but this looks good to me.
One minor nit: might the comment "Avoid generating STRQro is if it is slow unless we're optimizing for code size" better be placed by the definition of UseSTQro rather than the predicated patterns?
Comment Actions
There should be a test, but other than that only one nit (also with the comment).
lib/Target/AArch64/AArch64InstrInfo.td | ||
---|---|---|
2136 ↗ | (On Diff #112214) | Grammar looks sketchy; drop the first "is"? |