summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorShuxin Yang <shuxin.llvm@gmail.com>2012-10-19 23:00:20 +0000
committerShuxin Yang <shuxin.llvm@gmail.com>2012-10-19 23:00:20 +0000
commit1479fcdef1de950ea1cd8e930cefc50a670d307a (patch)
treeadefde970251e3bb4204a271b7c83cb75bf87488 /llvm/lib/CodeGen
parentf1f6a72901830a453a9737703ee926cb5f52fb79 (diff)
downloadbcm5719-llvm-1479fcdef1de950ea1cd8e930cefc50a670d307a.tar.gz
bcm5719-llvm-1479fcdef1de950ea1cd8e930cefc50a670d307a.zip
1. Remove noreturn attribute from __builtin_debugtrap().
(The change at Clang side was committed in r166345) 2. Cosmetic change in order to conform to coding standards. llvm-svn: 166350
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index c46df309356..abf40b77a18 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1245,8 +1245,8 @@ void SelectionDAGLegalize::LegalizeOp(SDNode *Node) {
if (Action == TargetLowering::Expand) {
// replace ISD::DEBUGTRAP with ISD::TRAP
SDValue NewVal;
- NewVal = DAG.getNode (ISD::TRAP, Node->getDebugLoc(), Node->getVTList(),
- Node->getOperand(0));
+ NewVal = DAG.getNode(ISD::TRAP, Node->getDebugLoc(), Node->getVTList(),
+ Node->getOperand(0));
ReplaceNode(Node, NewVal.getNode());
LegalizeOp(NewVal.getNode());
return;
OpenPOWER on IntegriCloud