[PATCH] D30364: AArch64 : Add PreferCSEL feature for Exynos-M3.
Junmo Park via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 27 15:39:08 PST 2017
flyingforyou added a comment.
Thanks for comment Renato.
This patch was inspired by below ARM's code. May I change this? What is your suggestion for the name "Don't use".?
// Some targets (e.g. Cortex-A9) prefer VMOVSR to VMOVDRR even when using NEON
// for scalar FP, as this allows more effective execution domain optimization.
def FeaturePreferVMOVSR : SubtargetFeature<"prefer-vmovsr", "PreferVMOVSR",
"true", "Prefer VMOVSR">;
def UseVMOVSR : Predicate<"Subtarget->preferVMOVSR() ||"
"!Subtarget->useNEONForSinglePrecisionFP()">;
def DontUseVMOVSR : Predicate<"!Subtarget->preferVMOVSR() &&"
"Subtarget->useNEONForSinglePrecisionFP()">;
https://reviews.llvm.org/D30364
More information about the llvm-commits
mailing list