[llvm-dev] [InstCombine] Addrspacecast and GEP assumed commutative
Matt Arsenault via llvm-dev
llvm-dev at lists.llvm.org
Mon Mar 23 11:05:11 PDT 2020
> On Mar 23, 2020, at 10:52, Thomas Faingnaert via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> Would replacing this by stripPointerCastsSameRepresentation be an acceptable solution, or do other parts of LLVM rely on this reordering?
> If not, I can send a patch in Phabricator to address this issue.
This is probably the right solution. Nothing should be relying on this anyway
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev