diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2018-08-20 13:31:41 +0000 |
---|---|---|
committer | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2018-08-20 13:31:41 +0000 |
commit | 216a2da5774d50571e97a67928b0ca710545161c (patch) | |
tree | deb872866b5faefa8e2efe6a55c56c21a50e585f | |
parent | c95ef77d37152fe0e1fc8dbf0dec7fb35ee2928f (diff) | |
download | bcm5719-llvm-216a2da5774d50571e97a67928b0ca710545161c.tar.gz bcm5719-llvm-216a2da5774d50571e97a67928b0ca710545161c.zip |
AMDGPU: fix compilation errors since r340171
Some buildbot slaves reports compilation errors, but it
compiled fine on my side, sorry for the breakage.
llvm-svn: 340172
-rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp b/llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp index 717d8a17ca8..d3ff511cde5 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp @@ -69,7 +69,7 @@ AMDGPUAAResult::ASAliasRulesTy::ASAliasRulesTy(AMDGPUAS AS_, Triple::ArchType Ar /* 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 && |