[PATCH] D137689: [AArch64] Select BFI/BFXIL to ORR with shifted operand when one operand is the left or right shift of another operand

Zakk Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 09:44:17 PST 2022


khchen added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/bitfield-insert.ll:641
 ; For or operation, one operand is a left shift of another operand.
 ; Use orr with left-shifted operand is better than bfi.
 define i64 @test_orr_not_bfi_i64(i64 %0) {
----------------
seem we could update the comments as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137689/new/

https://reviews.llvm.org/D137689



More information about the llvm-commits mailing list