aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-15 20:24:58 +0000
committerDan Gohman <gohman@apple.com>2010-07-15 20:24:58 +0000
commita9db12973005881a1bd1c5eddc31001d9c3189c8 (patch)
tree0c386eb197ba6c4a9b9fcb95f93aa3bc012401ac /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parentd1c58cf7bb3852c0b36d692b29f66a913c55ba0d (diff)
Don't merge uses when they are targetting fixup sites with
different widths. In a use with a narrower fixup, formulae may be wider than the fixup, in which case the high bits aren't necessarily meaningful, so it isn't safe to reuse them for uses with wider fixups. This fixes PR7618, though the testcase is too large for a reasonable regression test, since it heavily dependes on hitting LSR's heuristics in a certain way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions