summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Passes/PassPlugin.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2018-05-16 04:52:18 +0000
committerShoaib Meenai <smeenai@fb.com>2018-05-16 04:52:18 +0000
commit074728a2a901cf2e7fa54443ba37b72d8f43d7f5 (patch)
tree42472bf9aeed9ff898d8f8f2d6a5fad9d10707b6 /llvm/lib/Passes/PassPlugin.cpp
parentb8931c1cf4075d9d79ad2ae44dadc3d3d1d29568 (diff)
downloadbcm5719-llvm-074728a2a901cf2e7fa54443ba37b72d8f43d7f5.tar.gz
bcm5719-llvm-074728a2a901cf2e7fa54443ba37b72d8f43d7f5.zip
[ObjCARC] Prevent code motion into a catchswitch
A catchswitch must be the only non-phi instruction in its basic block; attempting to move a retain or release into a catchswitch basic block will result in invalid IR. Explicitly mark a CFG hazard in this case to prevent the code motion. Differential Revision: https://reviews.llvm.org/D46482 llvm-svn: 332430
Diffstat (limited to 'llvm/lib/Passes/PassPlugin.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud