Skip to content

Commit

Permalink
[bazel] Add BuiltinsSPIRV (for llvm#121598)
Browse files Browse the repository at this point in the history
  • Loading branch information
chapuni committed Jan 6, 2025
1 parent 01e980e commit 4dc34b0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,21 @@ gentbl(
],
)

gentbl(
name = "basic_builtins_spirv_gen",
tbl_outs = [(
"-gen-clang-builtins",
"include/clang/Basic/BuiltinsSPIRV.inc",
)],
tblgen = ":clang-tblgen",
td_file = "include/clang/Basic/BuiltinsSPIRV.td",
td_srcs = [
"include/clang/Basic/Builtins.td",
"include/clang/Basic/BuiltinsBase.td",
"include/clang/Basic/BuiltinsSPIRV.td",
],
)

gentbl(
name = "basic_builtins_riscv_gen",
tbl_outs = [(
Expand Down Expand Up @@ -723,6 +738,7 @@ cc_library(
":basic_builtins_bpf_gen",
":basic_builtins_gen",
":basic_builtins_riscv_gen",
":basic_builtins_spirv_gen",
":basic_builtins_x86_gen",
":basic_builtins_x86_64_gen",
":basic_internal_headers",
Expand Down

0 comments on commit 4dc34b0

Please sign in to comment.