[PATCH] D147275: [InstCombine] Extend simplifications for `(icmp ({z|s}ext X), C)` where `C` is vector
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 2 01:36:27 PDT 2023
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:3822-3823
+ else if (match(RHS, m_ImmConstant())) {
+ Constant *C = dyn_cast<Constant>(RHS);
+ assert(C != nullptr);
+
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147275/new/
https://reviews.llvm.org/D147275
More information about the llvm-commits
mailing list