[PATCH] D130765: [DAG] Turn a wider range of select of constants into math

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 05:25:05 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/select.ll:995
+; CHECK-NEXT:    sete %al
+; CHECK-NEXT:    leal -1(%rax,%rax), %eax
 ; CHECK-NEXT:    retq
----------------
deadalnix wrote:
> Is this good or bad? @RKSimon , @gchatelet ?
Probably worse - 3op LEA isn't great on some cpus


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130765



More information about the llvm-commits mailing list