[PATCH] D146787: [X86] Teach computeKnownBitsForTargetNode about MUL_IMM

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 26 07:23:49 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/select-constant-lea.ll:20
 ; SLOWLEA3-NEXT:    leal (%rax,%rax,4), %eax
-; SLOWLEA3-NEXT:    orl $8, %eax
+; SLOWLEA3-NEXT:    addl $8, %eax
 ; SLOWLEA3-NEXT:    retq
----------------
Please can you confirm what's caused us to use the ORLIke pattern?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146787



More information about the llvm-commits mailing list