summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-readobj/ELFDumper.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2019-05-28 12:19:38 +0000
committerHans Wennborg <hans@hanshq.net>2019-05-28 12:19:38 +0000
commitd936e40575c4f770853efd681d8066411b3e34ff (patch)
treee18cadaa719b9c3afb67e33cef645f0a27c993ba /llvm/tools/llvm-readobj/ELFDumper.cpp
parent4df2baadd28225310f16d41e61093a5290fb94b4 (diff)
downloadbcm5719-llvm-d936e40575c4f770853efd681d8066411b3e34ff.tar.gz
bcm5719-llvm-d936e40575c4f770853efd681d8066411b3e34ff.zip
Re-commit r357452 (take 2): "SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)"
This was reverted in r360086 as it was supected of causing mysterious test failures internally. However, it was never concluded that this patch was the root cause. > The code was previously checking that candidates for sinking had exactly > one use or were a store instruction (which can't have uses). This meant > we could sink call instructions only if they had a use. > > That limitation seemed a bit arbitrary, so this patch changes it to > "instruction has zero or one use" which seems more natural and removes > the need to special-case stores. > > Differential revision: https://reviews.llvm.org/D59936 llvm-svn: 361811
Diffstat (limited to 'llvm/tools/llvm-readobj/ELFDumper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud