Skip to content

Commit 6b8bb29

Browse files
committed
[llvm][bazel] Update BUILD file after fa3d789.
1 parent e1d4ddb commit 6b8bb29

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -598,14 +598,14 @@ cc_binary(
598598
name = "llvm-min-tblgen",
599599
srcs = [
600600
"utils/TableGen/Attributes.cpp",
601-
"utils/TableGen/CodeGenIntrinsics.cpp",
602-
"utils/TableGen/CodeGenIntrinsics.h",
601+
"utils/TableGen/Basic/CodeGenIntrinsics.cpp",
602+
"utils/TableGen/Basic/CodeGenIntrinsics.h",
603+
"utils/TableGen/Basic/SDNodeProperties.cpp",
604+
"utils/TableGen/Basic/SDNodeProperties.h",
605+
"utils/TableGen/Basic/SequenceToOffsetTable.h",
603606
"utils/TableGen/DirectiveEmitter.cpp",
604607
"utils/TableGen/IntrinsicEmitter.cpp",
605608
"utils/TableGen/RISCVTargetDefEmitter.cpp",
606-
"utils/TableGen/SDNodeProperties.cpp",
607-
"utils/TableGen/SDNodeProperties.h",
608-
"utils/TableGen/SequenceToOffsetTable.h",
609609
"utils/TableGen/TableGen.cpp",
610610
"utils/TableGen/VTEmitter.cpp",
611611
],
@@ -621,16 +621,16 @@ cc_binary(
621621
cc_library(
622622
name = "TableGenGlobalISel",
623623
srcs = [
624-
"utils/TableGen/GlobalISel/CodeExpander.cpp",
624+
"utils/TableGen/Common/GlobalISel/CodeExpander.cpp",
625625
],
626626
hdrs = glob([
627627
# We have to include these headers here as well as in the `hdrs` below
628628
# to allow the `.cpp` files to use file-relative-inclusion to find
629629
# them, even though consumers of this library use inclusion relative to
630630
# `utils/TableGen` with the `strip_includes_prefix` of this library.
631631
# This mixture appears to be incompatible with header modules.
632-
"utils/TableGen/GlobalISel/CodeExpander.h",
633-
"utils/TableGen/GlobalISel/CodeExpansions.h",
632+
"utils/TableGen/Common/GlobalISel/CodeExpander.h",
633+
"utils/TableGen/Common/GlobalISel/CodeExpansions.h",
634634
]),
635635
copts = llvm_copts,
636636
features = ["-header_modules"],
@@ -654,18 +654,23 @@ cc_binary(
654654
[
655655
"utils/TableGen/*.cpp",
656656
"utils/TableGen/*.h",
657-
"utils/TableGen/GlobalISel/*.cpp",
658-
"utils/TableGen/GlobalISel/*.h",
657+
"utils/TableGen/Basic/*.cpp",
658+
"utils/TableGen/Basic/*.h",
659+
"utils/TableGen/Common/*.cpp",
660+
"utils/TableGen/Common/*.h",
661+
"utils/TableGen/Common/GlobalISel/*.cpp",
662+
"utils/TableGen/Common/GlobalISel/*.h",
659663

660664
# Some tablegen sources include headers from MC, so these have to be
661665
# listed here. MC uses headers produced by tablegen, so it cannot be a
662666
# regular dependency.
663667
"include/llvm/MC/*.h",
664668
"include/llvm/TargetParser/SubtargetFeature.h",
665669
],
666-
exclude = ["utils/TableGen/GlobalISel/CodeExpander.cpp"],
670+
exclude = ["utils/TableGen/Common/GlobalISel/CodeExpander.cpp"],
667671
),
668672
copts = llvm_copts,
673+
includes = ["utils/TableGen"],
669674
stamp = 0,
670675
deps = [
671676
":CodeGenTypes",

0 commit comments

Comments
 (0)