commit | fe673d93511fef5aa4b1e275d00ea71ea4e94604 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri May 06 06:53:07 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri May 06 06:53:07 2005 +0000 |
tree | d96bfd9f06e0fbf236bfdc3ae32e072228128709 | |
parent | a471e045b7cef5da428bdada4a362a4be671ef0b [diff] [blame] |
add tail marker as a comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21739 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 2cd5644..be124b0 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp
@@ -1542,6 +1542,7 @@ // match exactly. // bool WroteCallee = false; + if (I.isTailCall()) Out << " /*tail*/ "; if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Callee)) if (CE->getOpcode() == Instruction::Cast) if (Function *RF = dyn_cast<Function>(CE->getOperand(0))) {