[llvm] [InstCombine] Fold `select Cond, not X, X` into `Cond ^ X` (PR #93591)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 11:44:38 PDT 2024
dtcxzyw wrote:
> Im somewhat partial to #90089. In general would prefer to use existing analysis logic (`isImpliedCondition...`) than this bespoke function. Is there anything this function can do that other cant?
No. I just use this simplified helper function to reduce compile-time overhead.
See https://github.com/llvm/llvm-project/pull/90089#discussion_r1616325307
https://github.com/llvm/llvm-project/pull/93591
More information about the llvm-commits
mailing list