[PATCH] D106850: [InstCombine] Simplify llvm.vscale when vscale_range attribute exists

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 28 05:14:08 PDT 2021


spatel added inline comments.


================
Comment at: llvm/test/Transforms/InstSimplify/fold-vscale.ll:9
+  %1 = call i64 @llvm.vscale.i64()
+  %out = shl i64 %1, 4
+  ret i64 %out
----------------
The shifts in these tests are not necessary to show the transform, so I'd take them out.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106850



More information about the llvm-commits mailing list