diff options
Diffstat (limited to 'src/gallium/state_trackers/clover/llvm/codegen/common.cpp')
-rw-r--r-- | src/gallium/state_trackers/clover/llvm/codegen/common.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/clover/llvm/codegen/common.cpp b/src/gallium/state_trackers/clover/llvm/codegen/common.cpp index 3b0014d8797..075183400ae 100644 --- a/src/gallium/state_trackers/clover/llvm/codegen/common.cpp +++ b/src/gallium/state_trackers/clover/llvm/codegen/common.cpp @@ -121,12 +121,12 @@ namespace { } else { // Other types. const auto actual_type = - isa<::llvm::PointerType>(arg_type) && arg.hasByValAttr() ? - cast<::llvm::PointerType>(arg_type)->getElementType() : arg_type; + isa< ::llvm::PointerType>(arg_type) && arg.hasByValAttr() ? + cast< ::llvm::PointerType>(arg_type)->getElementType() : arg_type; if (actual_type->isPointerTy()) { const unsigned address_space = - cast<::llvm::PointerType>(actual_type)->getAddressSpace(); + cast< ::llvm::PointerType>(actual_type)->getAddressSpace(); if (address_space == address_spaces[clang::LangAS::opencl_local - compat::lang_as_offset]) { |