[llvm-dev] Loop Vectorize: Testing cost model driven transformations

Matthew Simpson via llvm-dev llvm-dev at lists.llvm.org
Fri Dec 2 11:06:30 PST 2016


On Fri, Dec 2, 2016 at 1:30 PM, Michael Kuperstein via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> It isn't relevant, really, Matt just brought up "llc --version" as a way
> to show the default triple and native cpu.
> The same question ("Which TTI do/should we get with -mcpu=generic / when
> not providing -mcpu at all") applies to opt.
>

And just to be clear in case there was any confusion, in opt when a target
is not specified we get the generic TTI, not one for the host or default
triple indicated by llc. I think this was Adam's original point/question.
As long as the tests we want to remain target-independent don't specify a
target triple, we should get the same generic TTI on any host.

-- Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161202/9739177b/attachment.html>


More information about the llvm-dev mailing list