[PATCH] D40556: SIFixSGPRCopies should not change non-divergent PHI

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 13 00:57:51 PDT 2018


alex-t added a comment.

I have no idea how to backport yet.
I 'my going to submit revert patch.
This change existed for a few months and I' my not sure what may be broken
if reverted. I have to figure out this. Some precheckin tests needed.

пт, 13 апр. 2018 г., 10:36 Samuel Pitoiset via Phabricator <
reviews at reviews.llvm.org>:

> hakzsam added a comment.
> 
> In https://reviews.llvm.org/D40556#1062962, @alex-t wrote:
> 
>> In fact yes. This is the most correct solution. The stuff in
>  >  SIFixSGPRCopies.cpp has got to gone.
>  >  So it does not make sense to spend efforts on it. Moreover there is no
>  >  correct solution at all
>  >  unless we implement one more DivergenceAnalysis upon the machine IR.
>  >  So, if it's okay I'd prefer to revert.
> 
> I'm fine with the revert because this change introduces hangs in a bunch
>  of games apparently.
> 
> Do you think it's doable to backport the revert to LLVM 6 as well?
> 
> Thanks!
> 
> Repository:
> 
>   rL LLVM
> 
> https://reviews.llvm.org/D40556


Repository:
  rL LLVM

https://reviews.llvm.org/D40556





More information about the llvm-commits mailing list