summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-10-30 23:43:29 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-10-30 23:43:29 +0000
commit909d0c063f54ac10d01dcd0c80199e0c826e4ab7 (patch)
treedd103e5b4fbb2b39e0bee4966368ccacc80fe5bf /llvm/lib/Target
parentfbbc738eb7f063dca0056f97aaf16d4f68d8a094 (diff)
downloadbcm5719-llvm-909d0c063f54ac10d01dcd0c80199e0c826e4ab7.tar.gz
bcm5719-llvm-909d0c063f54ac10d01dcd0c80199e0c826e4ab7.zip
Fix a few typos
llvm-svn: 193723
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/R600/R600ISelLowering.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Target/R600/R600ISelLowering.cpp b/llvm/lib/Target/R600/R600ISelLowering.cpp
index 3d424c65035..090ab85c675 100644
--- a/llvm/lib/Target/R600/R600ISelLowering.cpp
+++ b/llvm/lib/Target/R600/R600ISelLowering.cpp
@@ -1253,13 +1253,13 @@ SDValue R600TargetLowering::LowerLOAD(SDValue Op, SelectionDAG &DAG) const
return DAG.getMergeValues(MergedValues, 2, DL);
}
- // For most operations returning SDValue() will result int he node being
- // expanded by the DAG Legalizer. This is not the case for ISD::LOAD, so
- // we need to manually expand loads that may be legal in some address spaces
- // and illegal in others. SEXT loads from CONSTANT_BUFFER_0 are supported
- // for compute shaders, since the data is sign extended when it is uploaded
- // to the buffer. Howerver SEXT loads from other addresspaces are not
- // supported, so we need to expand them here.
+ // For most operations returning SDValue() will result in the node being
+ // expanded by the DAG Legalizer. This is not the case for ISD::LOAD, so we
+ // need to manually expand loads that may be legal in some address spaces and
+ // illegal in others. SEXT loads from CONSTANT_BUFFER_0 are supported for
+ // compute shaders, since the data is sign extended when it is uploaded to the
+ // buffer. However SEXT loads from other address spaces are not supported, so
+ // we need to expand them here.
if (LoadNode->getExtensionType() == ISD::SEXTLOAD) {
EVT MemVT = LoadNode->getMemoryVT();
assert(!MemVT.isVector() && (MemVT == MVT::i16 || MemVT == MVT::i8));
OpenPOWER on IntegriCloud