[PATCH] D87422: [ConstantFold] Fold binary arithmetic on scalable vector splats.

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 03:00:17 PDT 2020


david-arm added inline comments.


================
Comment at: llvm/test/Transforms/InstSimplify/ConstProp/vscale.ll:44
 
+define <vscale x 4 x i32> @sub_splat() {
+; CHECK-LABEL: @sub_splat(
----------------
Is it worth also adding a test case for the integer divrem case where C2=0 that we now support where we return undef?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87422



More information about the llvm-commits mailing list