[PATCH] D92819: [TruncInstCombine] Remove scalable vector restriction

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 10 00:16:48 PST 2020


sdesmalen accepted this revision.
sdesmalen added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/test/Transforms/AggressiveInstCombine/trunc_const_expr.ll:120
+  %T = trunc <vscale x 2 x i64> %A to <vscale x 2 x i32>
+  call <vscale x 2 x i32> @use32_scale_vec(<vscale x 2 x i32> %T)
+  ret void
----------------
nit: instead of calling some `@use32_scale_vec`, could it simply be returned?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92819



More information about the llvm-commits mailing list