RewriteExpr, either the new PHI node of induction variable or the
post-increment value, should be first cast to the appropriated type (to the
type of the common expr). Otherwise, the rewrite of a use based on (common +
iv) may end up with an incorrect type.

llvm-svn: 28735
1 file changed
tree: d92b8645ed9f58a26693aa0d64930712119eecd7
  1. llvm/