diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-14 17:53:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-14 17:53:23 +0000 |
commit | 3b9d6216a41cfd43759e787db26d797e1f0ba0a8 (patch) | |
tree | 70ab8ae438a0996ff774bc8fd0eafc4c5b6d69e8 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | c441e97220eb8f3fc062d8bdf04d261165428673 (diff) |
fix AsmPrinter::GetBlockAddressSymbol to always return a unique
label instead of trying to form one based on the BB name (which
causes collisions if the name is empty). This fixes PR6608
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98495 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index ac71af5a78..d91d8bdece 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -2035,6 +2035,8 @@ SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable, case ISD::EntryToken: // These nodes remain the same. case ISD::BasicBlock: case ISD::Register: + //case ISD::VALUETYPE: + //case ISD::CONDCODE: case ISD::HANDLENODE: case ISD::TargetConstant: case ISD::TargetConstantFP: |