commit | a0e6969bbe1c4de13b0c4635df03c354c3993ef7 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Mar 24 18:35:40 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Mar 24 18:35:40 2009 +0000 |
tree | 9c28e116ffbfc49880477ec1fc624bc5403413b3 | |
parent | 1f8c564d7df985082d7e728330979781f384d0e9 [diff] |
canonicalize inttoptr and ptrtoint instructions which cast pointers to/from integer types that are not intptr_t to convert to intptr_t then do an integer conversion to the dest type. This exposes the cast to the optimizer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67638 91177308-0d34-0410-b5e6-96231b3b80d8