commit | 82a87a01723c095176c6940bcc63d3a7c8007b4b | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Jun 19 01:48:05 2007 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Jun 19 01:48:05 2007 +0000 |
tree | cb6bdf78002b48d594f2803783ba8c3d361d8a01 | |
parent | eaa91b0a1fc68984aae51f3c4b0cf29b38f89dac [diff] |
Replace M_REMATERIALIZIBLE and the newly-added isOtherReMaterializableLoad with a general target hook to identify rematerializable instructions. Some instructions are only rematerializable with specific operands, such as loads from constant pools, while others are always rematerializable. This hook allows both to be identified as being rematerializable with the same mechanism. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37644 91177308-0d34-0410-b5e6-96231b3b80d8