diff options
author | Shoaib Meenai <smeenai@fb.com> | 2018-05-16 04:52:18 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2018-05-16 04:52:18 +0000 |
commit | 074728a2a901cf2e7fa54443ba37b72d8f43d7f5 (patch) | |
tree | 42472bf9aeed9ff898d8f8f2d6a5fad9d10707b6 /llvm/lib/Support/Unix/Program.inc | |
parent | b8931c1cf4075d9d79ad2ae44dadc3d3d1d29568 (diff) | |
download | llvm-074728a2a901cf2e7fa54443ba37b72d8f43d7f5.zip llvm-074728a2a901cf2e7fa54443ba37b72d8f43d7f5.tar.gz llvm-074728a2a901cf2e7fa54443ba37b72d8f43d7f5.tar.bz2 |
[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/Support/Unix/Program.inc')
0 files changed, 0 insertions, 0 deletions