Previous logic only applied for ConstantInt which misses all vector
cases. New code works for splat/non-splat vectors as well. No change
to the underlying simplifications.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D147275
[InstCombine] Extend simplifications for `(icmp ({z|s}ext X), C)` where `C` is vector ClosedPublic Authored by goldstein.w.n on Mar 30 2023, 2:29 PM.
Details Summary Previous logic only applied for ConstantInt which misses all vector
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 2 2023, 1:36 AM This revision was landed with ongoing or failed builds.Apr 3 2023, 9:05 AM Closed by commit rG87c97d052cfd: [InstSimplify] Extend simplifications for `(icmp ({z|s}ext X), C)` where `C` is… (authored by goldstein.w.n). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 509821 llvm/lib/Analysis/InstructionSimplify.cpp
llvm/test/Transforms/InstSimplify/vec-icmp-of-cast.ll
|