Matthew Simpson via llvm-dev
2016-Nov-29 22:49 UTC
[llvm-dev] Loop Vectorize: Testing cost model driven transformations
On Tue, Nov 29, 2016 at 5:11 PM, Adam Nemet via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Do we need a new (loop-vectorizer-specific) command line option for this? > Don’t we get the default TTI if the target is unspecified in the test?I think you're right! It looks like I am getting the default TTI when the target is left unspecified. I was assuming it would default to whatever the host is, but this doesn't seem to be the case. I guess this is a non-issue after all, as long as we don't specify a triple in the target-independent tests. And it looks like Michael cleaned that all up in r283512. Thanks! -- Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161129/d9864c9b/attachment.html>
Michael Kuperstein via llvm-dev
2016-Nov-30 18:04 UTC
[llvm-dev] Loop Vectorize: Testing cost model driven transformations
Thanks Matt! So, just to make sure I understand, what is getting a specific TTI in llc triggered off? -mcpu? On Tue, Nov 29, 2016 at 2:49 PM, Matthew Simpson via llvm-dev < llvm-dev at lists.llvm.org> wrote:> > On Tue, Nov 29, 2016 at 5:11 PM, Adam Nemet via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Do we need a new (loop-vectorizer-specific) command line option for >> this? Don’t we get the default TTI if the target is unspecified in the >> test? > > > I think you're right! It looks like I am getting the default TTI when the > target is left unspecified. I was assuming it would default to whatever the > host is, but this doesn't seem to be the case. I guess this is a non-issue > after all, as long as we don't specify a triple in the target-independent > tests. And it looks like Michael cleaned that all up in r283512. > > Thanks! > > -- Matt > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161130/50d6a3f6/attachment-0001.html>
Matthew Simpson via llvm-dev
2016-Nov-30 18:58 UTC
[llvm-dev] Loop Vectorize: Testing cost model driven transformations
On Wed, Nov 30, 2016 at 1:04 PM, Michael Kuperstein via llvm-dev < llvm-dev at lists.llvm.org> wrote:> So, just to make sure I understand, what is getting a specific TTI in llc > triggered off? -mcpu?Right, TTI would be determined by the target specified in the IR or set explicitly with the -m flags. My understanding is that if the target is left unspecified in the IR and not set with the -m flags, llc will generate code for the default target listed in the output of "llc --version". -- Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161130/7523c735/attachment.html>
Reasonably Related Threads
- Loop Vectorize: Testing cost model driven transformations
- Loop Vectorize: Testing cost model driven transformations
- Loop Vectorize: Testing cost model driven transformations
- Loop Vectorize: Testing cost model driven transformations
- Loop Vectorize: Testing cost model driven transformations