Skip to content

Commit 92f6254

Browse files
committed
[SOL] Add missing SBF triples (#144)
1 parent fcad39e commit 92f6254

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clang/lib/Driver/ToolChains/CommonArgs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ std::string tools::getCPUName(const Driver &D, const ArgList &Args,
674674

675675
case llvm::Triple::bpfel:
676676
case llvm::Triple::bpfeb:
677+
case llvm::Triple::sbf:
677678
if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ))
678679
return A->getValue();
679680
return "";

clang/lib/Sema/SemaChecking.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,6 +1927,7 @@ bool Sema::CheckTSBuiltinFunctionCall(const TargetInfo &TI, unsigned BuiltinID,
19271927
return ARM().CheckAArch64BuiltinFunctionCall(TI, BuiltinID, TheCall);
19281928
case llvm::Triple::bpfeb:
19291929
case llvm::Triple::bpfel:
1930+
case llvm::Triple::sbf:
19301931
return BPF().CheckBPFBuiltinFunctionCall(BuiltinID, TheCall);
19311932
case llvm::Triple::hexagon:
19321933
return Hexagon().CheckHexagonBuiltinFunctionCall(BuiltinID, TheCall);

0 commit comments

Comments
 (0)