[PATCH] D145113: [DAGCombiner][AArch64] Constant fold ISD::VSCALE if VScaleMin==VScaleMax.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 00:50:56 PST 2023


craig.topper added a comment.

In D145113#4163863 <https://reviews.llvm.org/D145113#4163863>, @sdesmalen wrote:

> Did you also try to see if there is additional value doing this transform at the LLVM IR layer? (I don't know if that could unlock other optimisations since ConstantFolding kicks in earlier)

I think it’s already in InstSimplify.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145113



More information about the llvm-commits mailing list