summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/R600KernelParameters.cpp
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-07-30 15:57:50 +0000
committerTom Stellard <[email protected]>2012-07-30 21:10:14 +0000
commit2f921101c0826dc52a2c69f85c3da0f7f6e8212a (patch)
treeb0e58be6d20eee06df83a94571e149d73a401c15 /src/gallium/drivers/radeon/R600KernelParameters.cpp
parentb72ab79d73b29ec087d90cf2c698adbab4db5def (diff)
radeon/llvm: Rename all AMDIL* classes to AMDGPU*
Diffstat (limited to 'src/gallium/drivers/radeon/R600KernelParameters.cpp')
-rw-r--r--src/gallium/drivers/radeon/R600KernelParameters.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/R600KernelParameters.cpp b/src/gallium/drivers/radeon/R600KernelParameters.cpp
index e86ebbcabcf..87adbe400f3 100644
--- a/src/gallium/drivers/radeon/R600KernelParameters.cpp
+++ b/src/gallium/drivers/radeon/R600KernelParameters.cpp
@@ -249,9 +249,9 @@ void R600KernelParameters::Propagate(Value* V, const Twine& Name, bool IsIndirec
unsigned Addrspace;
if (IsIndirect) {
- Addrspace = AMDILAS::PARAM_I_ADDRESS;
+ Addrspace = AMDGPUAS::PARAM_I_ADDRESS;
} else {
- Addrspace = AMDILAS::PARAM_D_ADDRESS;
+ Addrspace = AMDGPUAS::PARAM_D_ADDRESS;
}
if (GEP and GEP->getType()->getAddressSpace() != Addrspace) {
@@ -321,9 +321,9 @@ Value* R600KernelParameters::ConstantRead(Function *Fun, Param &P) {
unsigned Addrspace;
if (P.IsIndirect) {
- Addrspace = AMDILAS::PARAM_I_ADDRESS;
+ Addrspace = AMDGPUAS::PARAM_I_ADDRESS;
} else {
- Addrspace = AMDILAS::PARAM_D_ADDRESS;
+ Addrspace = AMDGPUAS::PARAM_D_ADDRESS;
}
Argument *Arg = dyn_cast<Argument>(P.Val);