diff options
author | Tobias Grosser <tobias@grosser.es> | 2016-06-11 19:26:08 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2016-06-11 19:26:08 +0000 |
commit | 423642a59701ce381d9d4120929e5cc8c27f8489 (patch) | |
tree | 1710b8192563b06074c9d27fb4cb033542e24185 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 3fc09f7be672dd1adf4e0d939aa86badcdfd5df8 (diff) | |
download | llvm-423642a59701ce381d9d4120929e5cc8c27f8489.zip llvm-423642a59701ce381d9d4120929e5cc8c27f8489.tar.gz llvm-423642a59701ce381d9d4120929e5cc8c27f8489.tar.bz2 |
Recommit: "Look through IntToPtr & PtrToInt instructions"
IntToPtr and PtrToInt instructions are basically no-ops that we can handle as
such. In order to generate them properly as parameters we had to improve the
ScopExpander, though the change is the first in the direction of a more
aggressive scalar synthetization.
This patch was originally contributed by Johannes Doerfert in r271888, but was
in conflict with the revert in r272483. This is a recommit with some minor
adjustment to the test cases to take care of differing instruction names.
llvm-svn: 272485
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions