[PATCH] D65593: [Attributor] Deduction based on path exploration

Hideto Ueno via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 19:03:20 PST 2020


uenoku added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:1065
     return BeforeState == S ? ChangeStatus::UNCHANGED : ChangeStatus::CHANGED;
   }
 
----------------
baziotis wrote:
> jdoerfert wrote:
> > Can you explain the NOTE further and why we cannot make it "right"?
> > 
> > ---
> > 
> > Do you really want to delete `UsesInChild` or do you want to use it in the `followUsesInContext` call such that `Uses` is not modifed here.
> > Do you really want to delete UsesInChild or do you want to use it in the followUsesInContext call such that Uses is not modifed here.
> 
> Hmm, that was my initial assumption as well:
> > Probably put there since something has to be passed to the function
> 
> but I thought I was wrong.
> Can you explain the NOTE further and why we cannot make it "right"?
I didn't have a brain;) I have implemented in a simpler way so NOTE is removed.

> Do you really want to delete UsesInChild or do you want to use it in the followUsesInContext call such that Uses is not modifed here.
I want to modify Uses in `followUsesInContext` so I'm fine with removing `UsesInChild`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65593/new/

https://reviews.llvm.org/D65593





More information about the llvm-commits mailing list