[llvm-commits] PATCH: Add 64-bit architecture predicate to llvm::Triple

Chandler Carruth chandlerc at gmail.com
Mon Jan 30 03:29:42 PST 2012


This predicate doesn't make much sense inside of LLVM currently because all
of the backends track 64-bitness separately for some (likely historical)
reason. However, Clang could benefit greatly from this predicate, it would
remove one of the most commonly repeated queries about a triple. It also
seems likely that targets could move toward relying more heavily on the
triple to deduce these things, or at least start asserting that the
explicit 64-bitness of the subtarget objects matches the triple.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120130/28452436/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: triple-predicates2.patch
Type: text/x-patch
Size: 1582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120130/28452436/attachment.bin>


More information about the llvm-commits mailing list