diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-08-20 08:46:13 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-08-20 08:46:13 +0000 |
commit | 56e246b1a1aa65789792254c0c6a59dd3b4d7804 (patch) | |
tree | df3bec78c7ecdce6c4df0c967bc71fb5485cd3a4 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 869bdad93a74a778958bf231acb99019a2392560 (diff) | |
download | llvm-56e246b1a1aa65789792254c0c6a59dd3b4d7804.zip llvm-56e246b1a1aa65789792254c0c6a59dd3b4d7804.tar.gz llvm-56e246b1a1aa65789792254c0c6a59dd3b4d7804.tar.bz2 |
[stackprotector] Removed stale TODO.
llvm-svn: 188768
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
-rw-r--r-- | llvm/lib/CodeGen/StackProtector.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/StackProtector.cpp b/llvm/lib/CodeGen/StackProtector.cpp index cca5e61..3e6f44c 100644 --- a/llvm/lib/CodeGen/StackProtector.cpp +++ b/llvm/lib/CodeGen/StackProtector.cpp @@ -397,8 +397,6 @@ bool StackProtector::InsertStackProtectors() { StackGuardVar); } - // TODO: Put in check here if platform supports the stack protector check - // intrinsic. if (EnableSelectionDAGSP && !TM->Options.EnableFastISel && SupportsSelectionDAGSP) { // Since we have a potential tail call, insert the special stack check @@ -420,10 +418,9 @@ bool StackProtector::InsertStackProtectors() { CallInst::Create(Intrinsic, Args, "", InsertionPt); } else { - // If we do not have a potential tail call or our platform does not - // support lowering the stack protector check pseudo node, perform the IR - // level stack check. - + // If we do not support SelectionDAG based tail calls, generate IR level + // tail calls. + // // For each block with a return instruction, convert this: // // return: |