mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-29 08:02:51 +00:00
6d82d5b23e
* Loop invariant code does not dominate the loop header, but rather the end of the loop preheader. * The base for a reduced GEP isn't a constant unless all of its operands (preceding the induction variable) are constant. * Allow induction variable elimination for the simple case after all. Also made changes recommended by Chris for properly deleting instructions. llvm-svn: 20383