[PATCH] D159326: [InstCombine] Add support for simplifying inverted `select` in `foldAndOrOfSelectUsingImpliedCond`; NFC
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 14 03:07:10 PDT 2023
RKSimon added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineInternal.h:412
// or i1 Op, SI / select i1 Op, i1 true, i1 SI (if IsAnd = false)
// into simplier select instruction using isImpliedCondition.
Instruction *foldAndOrOfSelectUsingImpliedCond(Value *Op, SelectInst &SI,
----------------
Update comment describing NotSICond
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159326/new/
https://reviews.llvm.org/D159326
More information about the llvm-commits
mailing list