[LLVMdev] API Changes: TargetMachine::getSubtarget

David Blaikie dblaikie at gmail.com
Fri Mar 20 21:42:23 PDT 2015

On Fri, Mar 20, 2015 at 9:35 PM, Eric Christopher <echristo at gmail.com>

> Hi all,
> As of r232885 I've removed the argument-less TargetMachine::getSubtarget
> and TargetMachine::getSubtargetImpl.


> For the targets that aren't completely independent of this I've gone ahead
> and left a non-virtual version of the function in the target specific
> TargetMachine. What this means in practice is that those targets can only
> use a bare getSubtarget call in their target specific code, and should
> probably clean that up as soon as they can. They'll definitely be unable to
> use any of the function multiversioning support when it goes in and they'll
> be unable to LTO binaries that have functions with different subtarget
> features/cpus.
> Updating out of tree ports should be fairly straightforward for now.
> Updating out of tree code otherwise should be ok, but given I've been
> removing this stuff for some time you've probably been working on it
> anyways. Do file bugs if there's anything I've missed or send me a message
> if you run into a problem (I know of a couple off hand that need
> investigating).
> Thanks!
> -eric
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150320/157f71be/attachment.html>

More information about the llvm-dev mailing list