XCore target: disable vectorization
Arnold Schwaighofer
aschwaighofer at apple.com
Mon Sep 9 09:51:29 PDT 2013
On Sep 9, 2013, at 11:15 AM, Robert Lytton <robert at xmos.com> wrote:
> Hi Arnold,
>
> Thank you.
> I did ponder about stopping later, but it seemed sensible/reasonable to stop it earlier but not creating the passes.
> I'll make a suitable patch for review...
>
>
> I am curious to know why the TargetTransformInfo is only available via getAnalysis<> (which is only callable during passes?)
> and the SelectionDAG::getTargetTransformInfo()
It is because it needs the Target (TargetLowering) to do its job (in a meaningful way) but we need this information during “opt” passes. The TargetMachine injects this information in "TM->addAnalysisPasses()”. And we have NoTTI when no Target is available (opt).
More information about the cfe-commits
mailing list