[PATCH] D13197: AMDGPU: Move SIFixSGPRLiveRanges to be a regalloc pass
Andrew Trick via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 13:49:26 PDT 2015
> On Oct 6, 2015, at 1:10 PM, Matt Arsenault <arsenm2 at gmail.com> wrote:
>
>
>> On Oct 6, 2015, at 1:04 PM, Andrew Trick via llvm-commits <llvm-commits at lists.llvm.org <mailto:llvm-commits at lists.llvm.org>> wrote:
>>
>> Maybe a dumb question, but do you actually need the TwoAddress pass for your target?
>
> We do actually use it for translating a 2-address mad instruction into 3. It also is responsible for eliminating reg_sequence, which is very important for us.
>
> -Matt
FWIW, you might be able to turn EnableRescheduling into a target hook. If you don't need that functionality, then you could probably run TwoAddress without LiveVariables or Kill flag updating.
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151006/9ae3cf80/attachment.html>
More information about the llvm-commits
mailing list