[llvm] [LoongArch] Set isAsCheapAsAMove on LU{12,32,52}I/ADDI.D and {X}ORI instructions (PR #94733)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 11 05:07:41 PDT 2024
heiher wrote:
> Seems lu32i.d is 4x slower than move (or).
Real tests do not show `lu32i.d` to be slower than `move (or)` when they have the same data dependencies. However, I would still remove the `lu{12,32,52}i` instructions, as they add more instructions to the loop.
https://github.com/llvm/llvm-project/pull/94733
More information about the llvm-commits
mailing list