fno-strict-aliasing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

fno-strict-aliasing

Reed Kotler
does -fno-strict-aliasing work in llvm/clang?

tia.

reed



_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: fno-strict-aliasing

Duncan Sands
On 24/08/13 01:14, reed kotler wrote:
> does -fno-strict-aliasing work in llvm/clang?

Assuming clang works the same as dragonegg, -fno-strict-aliasing disables
TBAA.  Since the IR has no TBAA metadata attached, the LLVM alias analysis
no longer does any reasoning based on types.

Ciao, Duncan.

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev