diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-11-03 00:02:05 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-11-03 00:02:05 +0000 |
commit | b62d257cf5adf89599e185e8cbd2b15e05e054dd (patch) | |
tree | 6a88ba5a679e9158a6cbb235e8c1654b303a6221 /lib | |
parent | 5cc66d979dfe43fcdb456e92a7df56427fa647cb (diff) |
Revert previous change to a comment. The BlockAddresses go in the
constant pool so they don't get wrapped separately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index d7e6642bd9..b6ce5ddb70 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/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 |