[llvm-commits] [llvm-gcc-4.2] r55650 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Dale Johannesen dalej at apple.com
Wed Sep 3 10:02:56 PDT 2008

On Sep 3, 2008, at 12:08 AMPDT, Duncan Sands wrote:

> Hi Dale,
>> Don't convert atomics that aren't supported by the target.
>> This gets us undefined functions at linktime instead of
>> crashes in llvm, which is what gcc does.
> how about teaching llvm to output the required library calls
> if a target does not support an atomic intrinsic (I'm assuming
> such library calls exist...)?

That could be done; what you would get is the same library call
that already exists in the gcc IL.  Why change it and change it back?

More information about the llvm-commits mailing list