| commit | 398f70292c4140b27f0799e89e2c34a38c2d9f7d | [log] [tgz] |
|---|---|---|
| author | Evan Cheng <evan.cheng@apple.com> | Fri Jun 09 00:12:42 2006 +0000 |
| committer | Evan Cheng <evan.cheng@apple.com> | Fri Jun 09 00:12:42 2006 +0000 |
| tree | d92b8645ed9f58a26693aa0d64930712119eecd7 | |
| parent | 5d029264ec5a89d3b757e9af80039b444b603555 [diff] |
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