[PATCH] D38133: [CGP] Make optimizeMemoryInst able to combine more kinds of ExtAddrMode fields

John Brawn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 24 06:08:27 PST 2017


john.brawn added a comment.

> Unfortunately I still have problems enabling the optimization by default. It causes build bot hangs-up, I'm evaluating the failures.
>  If you can also look into it, would be great.

I've done some testing and there appears to be a problem with how isTrivial handles null pointers, I'll post a patch for that shortly.

> Anyway, I think you can land this patch with all options off be default. Then I will switch them on one by one resolving different issues.

DisableComplexAddrModes already disables everything, so I don't think there's a need to disable the various AddrSinkCombine options for now. We can disable individual ones when DisableComplexAddrModes is turned on, if we need to.


Repository:
  rL LLVM

https://reviews.llvm.org/D38133





More information about the llvm-commits mailing list