[PATCH] D30474: [InstCombine] Always Fold GEP chains where the first index is zero

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 16:07:57 PST 2017


efriedma added a comment.

If there's a single user, it's probably fine.  Or maybe I'm just being overly cautious.  In any case, please run the testsuite (or some equivalent benchmarking) to make sure there aren't any unexpected effects.

Long-term, I'd like to see this code rewritten so it doesn't depend on IR types.


https://reviews.llvm.org/D30474





More information about the llvm-commits mailing list