[PATCH] D149383: [SelectionDAG][WIP] Add support for evaluating SetCC based on knownbits

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 22:18:09 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/X86/avx512-mask-op.ll:615
+; CHECK-NEXT:    movb $1, %al
+; CHECK-NEXT:    testb %al, %al
+; CHECK-NEXT:    retq
----------------
goldstein.w.n wrote:
> Why do we emit any code here?
I'm guesting we started with a conditional branch and it got optimized out?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149383



More information about the llvm-commits mailing list