[LLVMdev] Default target

S3 scubed at nostratic.lingcog.iit.edu
Mon Feb 22 23:34:58 PST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> Why is there a default target?
>> Why can't those optimizations just be skipped until there is one?
>> (To be clear: I am assuming there is a reason for this.
>> I am asking what it is.)

> This has recently been fixed on trunk. The opt tool no longer adds a
> default target if a Module has no target attributes, and the optimizers
> now know how to be conservative when there's no target information.

Great.  That should make everything a lot easier.

>> Especially in the case of llvm-ld -native,
>> why doesn't it set the target to the platform
>> it is compiling for?

> This sounds like it could be called a bug. Please file a bugzilla report.

Filed:
http://llvm.org/bugs/show_bug.cgi?id=6401

- --
++++++++++++[->+++++++>+++++++++<<]>-.>[->+>+>+>+>+
<<<<<]>++++++++.>-------.<--.>>.---.>++.>-----.>+++
+++++[->++++<]>.<<<<<<<<.>>++.>.>.>.>>++++++++++.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuDhSIACgkQxzVgPqtIcfupCwCfRs9HlLHu4fXjr5tRRORIkI2R
YcAAn2VYga4ykTbx2+9zlJwgv0+PgNPD
=00oU
-----END PGP SIGNATURE-----



More information about the llvm-dev mailing list