[llvm] r340172 - AMDGPU: fix compilation errors since r340171
Samuel Pitoiset via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 20 06:31:41 PDT 2018
Author: hakzsam
Date: Mon Aug 20 06:31:41 2018
New Revision: 340172
URL: http://llvm.org/viewvc/llvm-project?rev=340172&view=rev
Log:
AMDGPU: fix compilation errors since r340171
Some buildbot slaves reports compilation errors, but it
compiled fine on my side, sorry for the breakage.
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp?rev=340172&r1=340171&r2=340172&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp Mon Aug 20 06:31:41 2018
@@ -69,7 +69,7 @@ AMDGPUAAResult::ASAliasRulesTy::ASAliasR
/* Region */ {MayAlias, NoAlias , NoAlias , NoAlias, MayAlias, NoAlias},
/* Private */ {MayAlias, NoAlias , NoAlias , NoAlias , NoAlias , MayAlias}
};
- static_assert(AS.MAX_COMMON_ADDRESS <= 6, "Addr space out of range");
+ static_assert(AMDGPUAS::MAX_COMMON_ADDRESS <= 6, "Addr space out of range");
if (AS.FLAT_ADDRESS == 0) {
assert(AS.GLOBAL_ADDRESS == 1 &&
AS.REGION_ADDRESS == 2 &&
More information about the llvm-commits
mailing list