summaryrefslogtreecommitdiffstats
path: root/llvm/lib/BinaryFormat/MsgPackWriter.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2019-05-08 15:44:24 +0000
committerDavid Greene <greened@obbligato.org>2019-05-08 15:44:24 +0000
commit6c433713e91bfd28f4351f43bb90c4455cba8540 (patch)
tree9e7c11558e7c360a1e2f44b56b6777e456de3a75 /llvm/lib/BinaryFormat/MsgPackWriter.cpp
parentce6b78128f7fde3b26b6cf66adc6c982cde90bb8 (diff)
downloadbcm5719-llvm-6c433713e91bfd28f4351f43bb90c4455cba8540.tar.gz
bcm5719-llvm-6c433713e91bfd28f4351f43bb90c4455cba8540.zip
[Reassociation] Place moved instructions after landing pads
Reassociation's NegateValue moved instructions to the beginning of blocks (after PHIs) without checking for exception handling pads. It's possible for reassociation to move something into an exception handling block so we need to make sure we don't move things too early in the block. This change advances the insertion point past any exception handling pads. If the block we want to move into contains a catchswitch, we cannot move into it. In that case just create a new neg as if we had not found an existing neg to move. Differential Revision: https://reviews.llvm.org/D61089 llvm-svn: 360262
Diffstat (limited to 'llvm/lib/BinaryFormat/MsgPackWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud