Skip to content

Purge warnings in in AMDGPUConvertAtomicLibCalls and AMDGPUOCL12Adapter #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Target/AMDGPU/AMDGPUConvertAtomicLibCalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ using namespace llvm;

namespace {
const char MangledAtomicPrefix[] = "U7_Atomic";
};
} // anonymous namespace

// Check if a mangled type name is unsigned
static bool isMangledTypeUnsigned(char Mangled) {
Expand Down Expand Up @@ -95,7 +95,7 @@ char AMDGPUConvertAtomicLibCalls::ID = 0;
INITIALIZE_PASS(
AMDGPUConvertAtomicLibCalls, "amdgpu-lower-opencl-atomic-builtins",
"Convert OpenCL atomic intrinsic calls into LLVM IR Instructions ", false,
false);
false)

char &llvm::AMDGPUConvertAtomicLibCallsID = AMDGPUConvertAtomicLibCalls::ID;

Expand Down
2 changes: 1 addition & 1 deletion lib/Target/AMDGPU/AMDGPUOCL12Adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class AMDGPUOCL12Adapter : public ModulePass {
}

INITIALIZE_PASS(AMDGPUOCL12Adapter, "amdgpu-opencl-12-adapter",
"Convert OpenCL 1.2 builtins to 2.0 builtins", false, false);
"Convert OpenCL 1.2 builtins to 2.0 builtins", false, false)

char AMDGPUOCL12Adapter::ID = 0;

Expand Down