aboutsummaryrefslogtreecommitdiffstats
path: root/utils/emacs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-21 04:11:19 +0000
committerChris Lattner <sabre@nondot.org>2009-10-21 04:11:19 +0000
commit10460aa4c6677cee572aee1692649f713e83cfc3 (patch)
tree6480fd58f075fa8c7d4789ca9d6670a984359b0b /utils/emacs
parent34fdb7750482a92c156acf8a4be9d1550386717c (diff)
downloadexternal_llvm-10460aa4c6677cee572aee1692649f713e83cfc3.zip
external_llvm-10460aa4c6677cee572aee1692649f713e83cfc3.tar.gz
external_llvm-10460aa4c6677cee572aee1692649f713e83cfc3.tar.bz2
make GVN work better when TD is not around:
"In the existing code, if the load and the value to replace it with are of different types *and* target data is available, it tries to use the target data to coerce the replacement value to the type of the load. Otherwise, it skips all effort to handle the type mismatch and just feeds the wrongly-typed replacement value to replaceAllUsesWith, which triggers an assertion. The patch replaces it with an outer if checking for type mismatch, and an inner if-else that checks whether target data is available and, if not, returns false rather than trying to replace the load." Patch by Kenneth Uildriks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/emacs')
0 files changed, 0 insertions, 0 deletions