aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-08-24 12:12:15 +0100
committerFlorian Hahn <flo@fhahn.com>2020-08-29 18:28:26 +0100
commit31cdb29de46d08af3b721ce62377b6faa614cc32 (patch)
tree6e84081480ff996a4347efcaba22321fbac90385 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent8e5b1557e5b32ec59336b0c80f1e35bf5d626ba6 (diff)
downloadllvm-31cdb29de46d08af3b721ce62377b6faa614cc32.zip
llvm-31cdb29de46d08af3b721ce62377b6faa614cc32.tar.gz
llvm-31cdb29de46d08af3b721ce62377b6faa614cc32.tar.bz2
[DSE,MemorySSA] Return early when hitting a MemoryPhi.
A MemoryPhi can never be eliminated. If we hit one, return the Phi, so the caller can continue traversing the incoming accesses. This saves some unnecessary read clobber checks and improves compile-time http://llvm-compile-time-tracker.com/compare.php?from=1ffc58b6d098ce8fa71f3a80fe75b990f633f921&to=d0fa8d1982380b57d7b6067528104bc373dbe07a&stat=instructions
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions