This simple patch removes the restriction of scalable vector type in truncinstcombine.
TestPlan: check-llvm
Paths
| Differential D92819
[TruncInstCombine] Remove scalable vector restriction ClosedPublic Authored by junparser on Dec 8 2020, 12:19 AM.
Details Summary This simple patch removes the restriction of scalable vector type in truncinstcombine. TestPlan: check-llvm
Diff Detail
Event TimelineComment Actions LGTM
This revision is now accepted and ready to land.Dec 10 2020, 12:16 AM
This revision was landed with ongoing or failed builds.Dec 10 2020, 2:00 AM Closed by commit rG137674f882fc: [TruncInstCombine] Remove scalable vector restriction (authored by junparser). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 310806 llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
llvm/test/Transforms/AggressiveInstCombine/trunc_const_expr.ll
|
nit: instead of calling some @use32_scale_vec, could it simply be returned?