[LLVMdev] Moving Private Label Prefixes from MCAsmInfo to MCObjectFileInfo

Renato Golin renato.golin at linaro.org
Sat May 23 03:18:49 PDT 2015


On 23 May 2015 at 00:08, Jim Grosbach <grosbach at apple.com> wrote:
> This is the key question. The LLVM assumption is that these sorts of things
> are inferable from the triple. Your observation here that the GNU world’s
> notion of triples and LLVM’s need not be the same is a good one. Having a
> split and a translation up in clang seems an interesting avenue to explore.
> I suspect this won’t be the last of this sort of issue you’ll encounter,
> unfortunately. Smarter LLVM layer triples is very worth exploring.

IIRC, some people were exploring moving all options to
-march/-mcpu/-mfpu and other -m options (like os, abi, release)
instead of using triples.

It'll be easier to convince other compiler to support -m options than
to support a whole new type of triple/tuple.

cheers,
--renato




More information about the llvm-dev mailing list