summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-20 21:29:31 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-20 21:29:31 +0000
commite2cfd0d45a303a52b8f69f2071d8c5a355ccdba3 (patch)
tree90706bd736d547d63089298dbcf9aee6e13b50f6 /clang/tools/c-index-test/c-index-test.c
parent8c9496a03c4912f9f8bda8eef17c243ace28bb4b (diff)
downloadbcm5719-llvm-e2cfd0d45a303a52b8f69f2071d8c5a355ccdba3.tar.gz
bcm5719-llvm-e2cfd0d45a303a52b8f69f2071d8c5a355ccdba3.zip
Avoid folding loads that are unsafe to move.
LiveRangeEdit::foldAsLoad() can eliminate a register by folding a load into its only use. Only do that when the load is safe to move, and it won't extend any live ranges. This fixes PR13414. llvm-svn: 160575
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud