[LLVMdev] [RFC] Stripping unusable intrinsics
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev