diff options
author | Kyle Butt <kyle+llvm@iteratee.net> | 2016-08-18 22:09:25 +0000 |
---|---|---|
committer | Kyle Butt <kyle+llvm@iteratee.net> | 2016-08-18 22:09:25 +0000 |
commit | 491afad8f6099dcf97d876b54fc8a49fac1d2fc4 (patch) | |
tree | 60303a207817ee198279df2cdb4ae1b6381fe1b3 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp | |
parent | d76755ec95112132aba5ce57110ad5c8652db3f3 (diff) | |
download | llvm-491afad8f6099dcf97d876b54fc8a49fac1d2fc4.zip llvm-491afad8f6099dcf97d876b54fc8a49fac1d2fc4.tar.gz llvm-491afad8f6099dcf97d876b54fc8a49fac1d2fc4.tar.bz2 |
IfConversion: Rescan diamonds.
The cost of predicating a diamond is only the instructions that are not shared
between the two branches. Additionally If a predicate clobbering instruction
occurs in the shared portion of the branches (e.g. a cond move), it may still
be possible to if convert the sub-cfg. This change handles these two facts by
rescanning the non-shared portion of a diamond sub-cfg to recalculate both the
predication cost and whether both blocks are pred-clobbering.
llvm-svn: 279167
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp')
0 files changed, 0 insertions, 0 deletions