llvm-project
d458a193 - [AArch64] Mark AESD and AESE instructions as commutative. (#83390)

Commit
1 year ago
[AArch64] Mark AESD and AESE instructions as commutative. (#83390) This come from https://discourse.llvm.org/t/combining-aes-and-xor-can-be-improved-further/77248. These instructions start out with: ``` XOR Vd, Vn <some complicated math> ``` The initial XOR means that they can be treated as commutative, removing some of the unnecessary mov's introduced during register allocation.
Author
Parents
  • llvm
    • lib/Target/AArch64
      • AArch64InstrInfo.td
    • test/CodeGen/AArch64
      • aes.ll
      • misched-fusion-aes.ll
Loading