Displaying 4 results from an estimated 4 matches for "scalarizemaskedmemintrin".
2018 Apr 03
2
[llvm] Query the target from an opt pass?
Hmmm, a quick look at the documentation for TargetTransformInfo doesn't look
like it.
In LegalizeDAG.cpp it uses TLI.getOperationAction() to find out if an SDNode
should be expanded by the legalizer or passed down to the target. That's what
I need to know, but I need it in a pass pre-legalization.
This seems like weird layering, though. Having an "optimization" pass be
looking
2018 Jan 07
0
RFC: [LV] any objections in moving isLegalMasked* check from Legal to CostModel? (Cleaning up LoopVectorizationLegality)
...think that we should proceed on this basis. It is not clear to me that
the extra compile time will be significant, and we shouldn't prematurely
optimize (although we should check for any significant impact).
The intrinsics should be scalarized on all targets without support (by
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp which is scheduled by default
in TargetPassConfig::addIRPasses).
-Hal
>
> Thanks,
> Hideki
>
> -----Original Message-----
> From: aemerson at apple.com [mailto:aemerson at apple.com]
> Sent: Friday, January 05, 2018 3:38 PM
> To: Saito, Hideki <hideki.saito at in...
2018 Jan 09
1
RFC: [LV] any objections in moving isLegalMasked* check from Legal to CostModel? (Cleaning up LoopVectorizationLegality)
...I think that we should proceed on this basis. It is not clear to me that the extra compile time will be significant, and we shouldn't prematurely optimize (although we should check for any significant impact).
The intrinsics should be scalarized on all targets without support (by lib/CodeGen/ScalarizeMaskedMemIntrin.cpp which is scheduled by default in TargetPassConfig::addIRPasses).
-Hal
>
> Thanks,
> Hideki
>
> -----Original Message-----
> From: aemerson at apple.com [mailto:aemerson at apple.com]
> Sent: Friday, January 05, 2018 3:38 PM
> To: Saito, Hideki <hideki.saito at int...
2018 Jan 06
2
RFC: [LV] any objections in moving isLegalMasked* check from Legal to CostModel? (Cleaning up LoopVectorizationLegality)
Amara,
>I support this direction
Thanks for the support.
>but are there actually any real world workloads where gather/scatter scalarisation would be worth it, on any micro-architecture? If we don’t have examples and the compile time cost is non-negligible then I think we’d still like to keep the early >bailouts in some form.’
It's not like I have specific application code in