projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0ddd1b
)
Fix whitespace issues
author
Matt Arsenault
<Matthew.Arsenault@amd.com>
Wed, 7 Sep 2016 07:07:59 +0000
(07:07 +0000)
committer
Matt Arsenault
<Matthew.Arsenault@amd.com>
Wed, 7 Sep 2016 07:07:59 +0000
(07:07 +0000)
^M and extra space
llvm-svn: 280786
clang/lib/CodeGen/TargetInfo.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/TargetInfo.cpp
b/clang/lib/CodeGen/TargetInfo.cpp
index
958a845
..
4fcec88
100644
(file)
--- a/
clang/lib/CodeGen/TargetInfo.cpp
+++ b/
clang/lib/CodeGen/TargetInfo.cpp
@@
-6969,7
+6969,6
@@
void AMDGPUTargetCodeGenInfo::setTargetAttributes(
appendOpenCLVersionMD(M);
}
-
\r
unsigned AMDGPUTargetCodeGenInfo::getOpenCLKernelCallingConv() const {
return llvm::CallingConv::AMDGPU_KERNEL;
@@
-7644,7
+7643,7
@@
void SPIRTargetCodeGenInfo::emitTargetMD(const Decl *D, llvm::GlobalValue *GV,
appendOpenCLVersionMD(CGM);
}
-static void appendOpenCLVersionMD
(CodeGen::CodeGenModule &CGM) {
+static void appendOpenCLVersionMD(CodeGen::CodeGenModule &CGM) {
llvm::LLVMContext &Ctx = CGM.getModule().getContext();
llvm::Type *Int32Ty = llvm::Type::getInt32Ty(Ctx);
llvm::Module &M = CGM.getModule();