mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix a few typos
llvm-svn: 193723
This commit is contained in:
parent
4bf5f8fbee
commit
68689667f4
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user