[LLVMdev] proposed change to class BasicTTI and dual mode mips16/32 working
Nadav Rotem
nrotem at apple.com
Thu Mar 28 12:22:55 PDT 2013
Hi Reed,
On Mar 28, 2013, at 12:18 PM, Reed Kotler <rkotler at mips.com> wrote:
> As for the BasicTransformInfoPassass, for this dual mode I'm using createNoTargetTransformInfoPass right now.
So, MIPS does not need LSR, LowerSwitch and other optimizations that depend on TTI ?
> I will solve this issue of the BasicTransformInfoPass being immutable after this initial checking which gets all the functionality. I was able to make in a function pass but ran into some issues so I put that
> aside for now.
>
IMHO the right way to handle target function attributes is to re-initialize the target machine and TTI for every function (if the attributes changed). Do you have another solution in mind ?
Thanks,
Nadav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130328/4a0b76b1/attachment.html>
More information about the llvm-dev
mailing list