[llvm] [InstCombine] Extend `foldICmpBinOp` to `add`-like `or`. (PR #71396)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 20 10:38:16 PST 2023


================
@@ -4564,6 +4564,17 @@ static Instruction *foldICmpXorXX(ICmpInst &I, const SimplifyQuery &Q,
   return nullptr;
 }
 
----------------
mgudim wrote:

Great, looks like this comes up in other places too:  https://github.com/llvm/llvm-project/pull/72583  
I'll wait for that PR to land, so I can apply it here.

https://github.com/llvm/llvm-project/pull/71396


More information about the llvm-commits mailing list