[LLVMdev] [RFC] Stripping unusable intrinsics

Chandler Carruth chandlerc at google.com
Wed Dec 10 16:06:49 PST 2014


On Thu, Dec 11, 2014 at 1:02 AM, Reid Kleckner <rnk at google.com> wrote:

> How much code is there that looks at target specific intrinsics from
> generic IR passes?


I suspect quite a bit transitively. ValueTracking, constant folding,
instsimplify, instcombine, etc.


> Can we move this code into something like TargetTransformInfo?


Yikes, no. That's behind an abstract common interface. All of the above are
specialized specific uses of narrow interfaces in relative hot paths of the
optimizer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141211/29ac34f0/attachment.html>


More information about the llvm-dev mailing list