From b389f2a04deed5c987dd1ab1a95187fa1c3f5d2a Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Tue, 3 Nov 2009 00:02:05 +0000 Subject: [PATCH] Revert previous change to a comment. The BlockAddresses go in the constant pool so they don't get wrapped separately. llvm-svn: 85844 --- llvm/lib/Target/ARM/ARMISelLowering.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index d7e6642bd917..b6ce5ddb7035 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -1186,12 +1186,12 @@ ARMTargetLowering::LowerReturn(SDValue Chain, return result; } -// ConstantPool, BlockAddress, JumpTable, GlobalAddress, and ExternalSymbol are -// lowered as their target counterpart wrapped in the ARMISD::Wrapper -// node. Suppose N is one of the above mentioned nodes. It has to be wrapped -// because otherwise Select(N) returns N. So the raw TargetGlobalAddress -// nodes, etc. can only be used to form addressing mode. These wrapped nodes -// will be selected into MOVi. +// ConstantPool, JumpTable, GlobalAddress, and ExternalSymbol are lowered as +// their target counterpart wrapped in the ARMISD::Wrapper node. Suppose N is +// one of the above mentioned nodes. It has to be wrapped because otherwise +// Select(N) returns N. So the raw TargetGlobalAddress nodes, etc. can only +// be used to form addressing mode. These wrapped nodes will be selected +// into MOVi. static SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG) { EVT PtrVT = Op.getValueType(); // FIXME there is no actual debug info here