[PATCH] D155622: [X86] Recognize standalone `(1 << nbits) - 1` pattern as bzhi

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 06:14:51 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/extract-lowbits.ll:24
 ; CHECK:       // %bb.0:
-; CHECK-NEXT:    mov w8, #1
+; CHECK-NEXT:    mov w8, #1 // =0x1
 ; CHECK-NEXT:    lsl w8, w8, w1
----------------
This is a X86 patch - skip the aarch64 regeneration changes (or commit separately) 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155622



More information about the llvm-commits mailing list