[llvm] [InstCombine] Improve handling of `not` and free inversion. (PR #66787)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 18 13:22:10 PST 2023
================
@@ -2106,6 +2106,99 @@ Instruction *InstCombinerImpl::visitGEPOfGEP(GetElementPtrInst &GEP,
return nullptr;
}
+Value *InstCombiner::getFreelyInverted(Value *V, bool WillInvertAllUses,
+ BuilderTy *Builder, unsigned Depth) {
+ using namespace llvm::PatternMatch;
----------------
nikic wrote:
Can probably drop the `using namespace` now.
https://github.com/llvm/llvm-project/pull/66787
More information about the llvm-commits
mailing list