Alex Richardson
05663dc146
[InstSimplify] Don't lose inbounds when simplifying a GEP
...
I noticed this while working on a (ptrtoint (gep null, x)) -> x fold.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D110168
2021-09-23 09:25:06 +01:00
Eric Christopher
cee313d288
Revert "Temporarily Revert "Add basic loop fusion pass.""
...
The reversion apparently deleted the test/Transforms directory.
Will be re-reverting again.
llvm-svn: 358552
2019-04-17 04:52:47 +00:00
Eric Christopher
a863435128
Temporarily Revert "Add basic loop fusion pass."
...
As it's causing some bot failures (and per request from kbarton).
This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda.
llvm-svn: 358546
2019-04-17 02:12:23 +00:00
Joey Gouly
61eaa63b65
[InstSimplify] Constant fold the new GEP in SimplifyGEPInst.
...
llvm-svn: 304784
2017-06-06 10:17:14 +00:00