forked from OSchip/llvm-project
parent
b15c06677c
commit
1575cb893c
|
@ -98,7 +98,8 @@ public:
|
|||
// don't use flat addressing.
|
||||
if (IsGraphicsShader)
|
||||
return -1;
|
||||
return ST->hasFlatAddressSpace() ? AMDGPUAS::FLAT_ADDRESS : -1;
|
||||
return ST->hasFlatAddressSpace() ?
|
||||
AMDGPUAS::FLAT_ADDRESS : AMDGPUAS::UNKNOWN_ADDRESS_SPACE;
|
||||
}
|
||||
|
||||
unsigned getVectorSplitCost() { return 0; }
|
||||
|
|
Loading…
Reference in New Issue