[PATCH] D20681: Add target-specific pre-linking passes to Clang
Liu, Yaxun (Sam) via cfe-commits
cfe-commits at lists.llvm.org
Thu May 26 11:21:26 PDT 2016
+Jeff
To cite some of the previous discussions (http://lists.llvm.org/pipermail/cfe-dev/2016-May/048822.html )
Brian:
On our side, we use such pre-link passes to interface with the specifics of our built-in function library. For example, we transform printf calls into a form that interacts with our library. We also transform calls to pipe functions, kernel enqueue related functions, and transform calls to the atomic functions to corresponding LLVM atomic instructions (and keep track of the memory scope elsewhere currently). You may have noticed that we have a proposal out to enable the atomic instructions to directly carry a memory scope.
Jeff:
We have similar passes related to builtin functions but they are rather specific to our implementation and not too complex.
Thanks.
Sam
-----Original Message-----
From: Liu, Yaxun (Sam)
Sent: Thursday, May 26, 2016 11:44 AM
To: reviews+D20681+public+7364792746786f73 at reviews.llvm.org; richard at metafoo.co.uk; anastasia.stulova at arm.com
Cc: Stellard, Thomas <Tom.Stellard at amd.com>; cfe-commits at lists.llvm.org; Sumner, Brian <Brian.Sumner at amd.com>
Subject: RE: [PATCH] D20681: Add target-specific pre-linking passes to Clang
+ Brian
-----Original Message-----
From: Tom Stellard [mailto:thomas.stellard at amd.com]
Sent: Thursday, May 26, 2016 11:11 AM
To: Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>; richard at metafoo.co.uk; anastasia.stulova at arm.com
Cc: Stellard, Thomas <Tom.Stellard at amd.com>; cfe-commits at lists.llvm.org
Subject: Re: [PATCH] D20681: Add target-specific pre-linking passes to Clang
tstellarAMD added a comment.
Can you give some examples of what pre-link passes may be required?
http://reviews.llvm.org/D20681
More information about the cfe-commits
mailing list