Skip to content

Commit

Permalink
[SOL] clang: add sbfv2 cpu name
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrod committed May 7, 2022
1 parent 6796b49 commit 83170d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Basic/Targets/BPF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void BPFTargetInfo::getTargetDefines(const LangOptions &Opts,
}

static constexpr llvm::StringLiteral ValidCPUNames[] = {"generic", "v1", "v2",
"v3", "probe"};
"v3", "probe", "sbfv2"};

bool BPFTargetInfo::isValidCPUName(StringRef Name) const {
return llvm::find(ValidCPUNames, Name) != std::end(ValidCPUNames);
Expand Down

0 comments on commit 83170d2

Please sign in to comment.