[LLVMdev] llvm::Triple support for haswell-enabled x86_64

Zachary Turner zturner at google.com
Tue Aug 19 16:57:35 PDT 2014


Sounds good, I'll give it a try sooner or later.  I've never messed with
triples, so is there anything I need to be aware of so I don't break any
code on other platforms?  In particular, I want
llvm::sys::getDefaultTargetTriple() to return me this new haswell-aware
triple, so what do I need to do to ensure that I don't break anyone else
who is running one of these systems and previously had a different default
triple?


On Tue, Aug 19, 2014 at 4:53 PM, Jim Grosbach <grosbach at apple.com> wrote:

> Sure, go for it. It’d be a fairly natural fit for a SubArchType.
>
>
>
> > On Aug 19, 2014, at 2:44 PM, Zachary Turner <zturner at google.com> wrote:
> >
> > I'm working on LLDB and we have a bunch of code that is manually
> manipulating triples and doing a bunch of nasty stuff to account for the
> fact that llvm::Triple doesn't currently have a way to detect x86_64h.
> >
> > Is this something that llvm::Triple could be modified to support?
> Either as a new ArchType, or a new SubArchType?
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140819/dfc882bd/attachment.html>


More information about the llvm-dev mailing list