summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/Utils/Local.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp
index 8f0f7e86cd..4e3b3e972e 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: