[PATCH] D145113: [DAGCombiner][AArch64] Constant fold ISD::VSCALE if VScaleMin==VScaleMax.
    Sander de Smalen via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar  2 00:58:26 PST 2023
    
    
  
sdesmalen added a comment.
In D145113#4163887 <https://reviews.llvm.org/D145113#4163887>, @craig.topper wrote:
> 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.
Good, thanks for confirming!
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