summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index 8f0f7e86cd8..4e3b3e972e2 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud