summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/TimeValue.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-08-29 00:19:21 +0000
committerJuergen Ributzka <juergen@apple.com>2014-08-29 00:19:21 +0000
commit77bc09f5ab4433cbb0ab9a6c2a75ece1ff241537 (patch)
treeaf7337c87c47f384c9c3f6339d6da5a05f9f6645 /llvm/lib/Support/TimeValue.cpp
parent0a20f5417c9d241f4774a49da6c7ca8123686671 (diff)
downloadbcm5719-llvm-77bc09f5ab4433cbb0ab9a6c2a75ece1ff241537.tar.gz
bcm5719-llvm-77bc09f5ab4433cbb0ab9a6c2a75ece1ff241537.zip
[FastISel][AArch64] Don't fold instructions that are not in the same basic block.
This fix checks first if the instruction to be folded (e.g. sign-/zero-extend, or shift) is in the same machine basic block as the instruction we are folding into. Not doing so can result in incorrect code, because the value might not be live-out of the basic block, where the value is defined. This fixes rdar://problem/18169495. llvm-svn: 216700
Diffstat (limited to 'llvm/lib/Support/TimeValue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud