As is the title.
TestPlan: check-llvm
Paths
| Differential D93289
[InstCombine] Remove scalable vector restriction in foldVectorBinop ClosedPublic Authored by junparser on Dec 15 2020, 2:38 AM.
Details
Diff Detail
Event Timelinejunparser added a parent revision: D93269: [InstCombine] Remove scalable vector restriction in InstCombineCompares.Dec 15 2020, 2:39 AM
Comment Actions LGTM with one minor
This revision is now accepted and ready to land.Dec 15 2020, 4:53 AM Comment Actions
Thanks for review. I'll update when I commit the patch. Closed by commit rG52a3267ffafc: [InstCombine] Remove scalable vector restriction in foldVectorBinop (authored by junparser). · Explain WhyDec 15 2020, 5:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 311876 llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/fold-bin-operand.llllvm/test/Transforms/InstCombine/vec-binop-select.ll
llvm/test/Transforms/InstCombine/vec_shuffle.ll
|
Might be worth pulling out the repeated isa/cast on Inst.getType():
auto *InstVTy = dyn_cast<FixedVectorType>(Inst.getType());