mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Correctly report modified status for ObjCARCContract
Differential Revision: https://reviews.llvm.org/D81226
This commit is contained in:
parent
5aad0e32c9
commit
1fde02964c
@ -529,6 +529,7 @@ bool ObjCARCContract::tryToPeepholeInstruction(
|
||||
return true;
|
||||
case ARCInstKind::IntrinsicUser:
|
||||
// Remove calls to @llvm.objc.clang.arc.use(...).
|
||||
Changed = true;
|
||||
Inst->eraseFromParent();
|
||||
return true;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user