OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf8aa84
)
Try to fix bot build failure
author
Matt Arsenault
<Matthew.Arsenault@amd.com>
Tue, 21 Aug 2018 16:24:56 +0000
(16:24 +0000)
committer
Matt Arsenault
<Matthew.Arsenault@amd.com>
Tue, 21 Aug 2018 16:24:56 +0000
(16:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340296
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/TargetParser.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/TargetParser.cpp
b/lib/Support/TargetParser.cpp
index
b3ccb10
..
20aae02
100644
(file)
--- a/
lib/Support/TargetParser.cpp
+++ b/
lib/Support/TargetParser.cpp
@@
-1027,7
+1027,7
@@
static constexpr GPUInfo AMDGCNGPUs[32] = {
static const GPUInfo *getArchEntry(AMDGPU::GPUKind AK,
ArrayRef<GPUInfo> Table) {
- GPUInfo Search = {
"", ""
, AK, AMDGPU::FEATURE_NONE };
+ GPUInfo Search = {
{""}, {""}
, AK, AMDGPU::FEATURE_NONE };
auto I = std::lower_bound(Table.begin(), Table.end(), Search,
[](const GPUInfo &A, const GPUInfo &B) {