diff options
| author | Juergen Ributzka <juergen@apple.com> | 2014-01-24 18:40:30 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@apple.com> | 2014-01-24 18:40:30 +0000 |
| commit | 50e7e80d00cc7fe2053d8c146e1af664b339e004 (patch) | |
| tree | 8f38a1e003ec6c08a25b06220ba58de420398bd4 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp | |
| parent | ccc18e1330a7e3e2be33adb0192d87b0cfb1f30c (diff) | |
| download | bcm5719-llvm-50e7e80d00cc7fe2053d8c146e1af664b339e004.tar.gz bcm5719-llvm-50e7e80d00cc7fe2053d8c146e1af664b339e004.zip | |
Revert "Add Constant Hoisting Pass"
This reverts commit r200022 to unbreak the build bots.
llvm-svn: 200024
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp index 6f980884bea..79377f74247 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp @@ -81,10 +81,7 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { case ISD::VALUETYPE: return "ValueType"; case ISD::Register: return "Register"; case ISD::RegisterMask: return "RegisterMask"; - case ISD::Constant: - if (cast<ConstantSDNode>(this)->isOpaque()) - return "OpaqueConstant"; - return "Constant"; + case ISD::Constant: return "Constant"; case ISD::ConstantFP: return "ConstantFP"; case ISD::GlobalAddress: return "GlobalAddress"; case ISD::GlobalTLSAddress: return "GlobalTLSAddress"; @@ -114,10 +111,7 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { } case ISD::BUILD_VECTOR: return "BUILD_VECTOR"; - case ISD::TargetConstant: - if (cast<ConstantSDNode>(this)->isOpaque()) - return "OpaqueTargetConstant"; - return "TargetConstant"; + case ISD::TargetConstant: return "TargetConstant"; case ISD::TargetConstantFP: return "TargetConstantFP"; case ISD::TargetGlobalAddress: return "TargetGlobalAddress"; case ISD::TargetGlobalTLSAddress: return "TargetGlobalTLSAddress"; |

