diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-13 21:31:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-13 21:31:54 +0000 |
commit | 5522037136f6f7b7cf5818d131526e7049e2c2da (patch) | |
tree | a527c5b60350f11194aee1b8057971018cee8518 /lib/Transforms/Utils/Local.cpp | |
parent | a728ddc81586c7fb881a1b429d169d1004f8c74b (diff) |
it is ok to dce stacksave.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Local.cpp')
-rw-r--r-- | lib/Transforms/Utils/Local.cpp | 1 |
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: |