summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-04-15 23:41:02 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-04-15 23:41:02 +0000
commitcdc3df4888b52d6b434215ec8bcb1d7b56260045 (patch)
tree0be3bc8d7bd49a15d10ba920a56932f9358bed50 /llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
parentb8eaf2944b83d06b276b587acf86ab1afec2304f (diff)
downloadbcm5719-llvm-cdc3df4888b52d6b434215ec8bcb1d7b56260045.tar.gz
bcm5719-llvm-cdc3df4888b52d6b434215ec8bcb1d7b56260045.zip
Avoid sinking machine instructions into a loop.
MachineLoopInfo is already available when MachineSinking runs, so the check is free. There is no test case because it would require a critical edge into a loop, and CodeGenPrepare splits those. This check is just to be extra careful. llvm-svn: 101420
Diffstat (limited to 'llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud