[PATCH] D113510: [InstCombine] Strip offset when folding and/or of icmps

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 9 13:30:09 PST 2021


nikic added a comment.

I expect this will subsume a few more folds strewn about, such as https://github.com/llvm/llvm-project/blob/24e07e1cf58841601287dca3df55078041dde00d/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp#L777-L789. However, this fold needs to be expanded to support splats first (which is trivial, but affects a number of folds under the same branch, so I'll do that separately).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113510



More information about the llvm-commits mailing list