diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-10-30 23:43:29 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-10-30 23:43:29 +0000 |
commit | dbd936f6ccd2588e8e232d9843d45d3697dce1c3 (patch) | |
tree | 3a76f06b576accf65f94324be6102ccc5a086b23 /lib | |
parent | 4f17f88071260cecffd96c272098549ac5887523 (diff) | |
download | external_llvm-dbd936f6ccd2588e8e232d9843d45d3697dce1c3.zip external_llvm-dbd936f6ccd2588e8e232d9843d45d3697dce1c3.tar.gz external_llvm-dbd936f6ccd2588e8e232d9843d45d3697dce1c3.tar.bz2 |
Fix a few typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/R600/R600ISelLowering.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Target/R600/R600ISelLowering.cpp b/lib/Target/R600/R600ISelLowering.cpp index 3d424c6..090ab85 100644 --- a/lib/Target/R600/R600ISelLowering.cpp +++ b/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)); |