diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 8f0f7e86cd8..4e3b3e972e2 100644 --- a/lib/Transforms/Utils/Local.cpp +++ b/lib/Transforms/Utils/Local.cpp @@ -296,6 +296,7 @@ bool llvm::isInstructionTriviallyDead(Instruction *I) { default: break; case Intrinsic::returnaddress: case Intrinsic::frameaddress: + case Intrinsic::stacksave: case Intrinsic::isunordered: case Intrinsic::ctpop: case Intrinsic::ctlz: