Skip to content

Commit 13ef4fe

Browse files
committed
[bazel] Port #73257 54397f9
1 parent 66be057 commit 13ef4fe

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

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

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2239,10 +2239,10 @@ gentbl(
22392239
name = "riscv_isel_target_gen",
22402240
strip_include_prefix = "lib/Target/RISCV",
22412241
tbl_outs = [
2242-
("-gen-global-isel", "lib/Target/RISCV/RISCVGenGlobalISel.inc"),
2243-
("-gen-global-isel-combiner -combiners=RISCVO0PreLegalizerCombiner", "lib/Target/RISCV/RISCVGenO0PreLegalizeGICombiner.inc"),
2244-
("-gen-global-isel-combiner -combiners=RISCVPostLegalizerCombiner", "lib/Target/RISCV/RISCVGenPostLegalizeGICombiner.inc"),
2245-
("-gen-global-isel-combiner -combiners=RISCVPreLegalizerCombiner", "lib/Target/RISCV/RISCVGenPreLegalizeGICombiner.inc"),
2242+
("-gen-global-isel", "lib/Target/RISCV/RISCVGenGlobalISel.inc"),
2243+
("-gen-global-isel-combiner -combiners=RISCVO0PreLegalizerCombiner", "lib/Target/RISCV/RISCVGenO0PreLegalizeGICombiner.inc"),
2244+
("-gen-global-isel-combiner -combiners=RISCVPostLegalizerCombiner", "lib/Target/RISCV/RISCVGenPostLegalizeGICombiner.inc"),
2245+
("-gen-global-isel-combiner -combiners=RISCVPreLegalizerCombiner", "lib/Target/RISCV/RISCVGenPreLegalizeGICombiner.inc"),
22462246
],
22472247
tblgen = ":llvm-tblgen",
22482248
td_file = "lib/Target/RISCV/RISCVGISel.td",
@@ -2343,10 +2343,10 @@ gentbl(
23432343
deps = [
23442344
":BinaryFormat",
23452345
":CodeGenTypes",
2346+
":Core",
23462347
":DebugInfoCodeView",
23472348
":MC",
23482349
":MCDisassembler",
2349-
":Core",
23502350
":Support",
23512351
":Target",
23522352
":config",
@@ -2552,23 +2552,23 @@ cc_library(
25522552
":AggressiveInstCombine",
25532553
":Analysis",
25542554
":CodeGen",
2555-
":common_transforms",
2556-
":config",
25572555
":Core",
25582556
":Coroutines",
25592557
":HipStdPar",
2560-
":InstCombine",
2561-
":Instrumentation",
25622558
":IPO",
25632559
":IRPrinter",
2560+
":InstCombine",
2561+
":Instrumentation",
25642562
":MLPolicies",
25652563
":ObjCARC",
2566-
":pass_registry_def",
25672564
":Scalar",
25682565
":Support",
25692566
":Target",
25702567
":TransformUtils",
25712568
":Vectorize",
2569+
":common_transforms",
2570+
":config",
2571+
":pass_registry_def",
25722572
],
25732573
)
25742574

@@ -2804,20 +2804,19 @@ cc_library(
28042804
]),
28052805
hdrs = glob([
28062806
"include/llvm/ExecutionEngine/Orc/Debugging/*.h",
2807-
]),
2807+
]) + ["include/llvm-c/LLJITUtils.h"],
28082808
copts = llvm_copts,
28092809
deps = [
28102810
":BinaryFormat",
28112811
":DebugInfo",
2812-
":OrcShared",
2813-
":OrcJIT",
28142812
":JITLink",
2813+
":OrcJIT",
2814+
":OrcShared",
28152815
":Support",
28162816
":TargetParser",
28172817
],
28182818
)
28192819

2820-
28212820
cc_library(
28222821
name = "OrcTargetProcess",
28232822
srcs = glob([
@@ -3119,9 +3118,9 @@ cc_library(
31193118
":MC",
31203119
":MCA",
31213120
":MCDisassembler",
3122-
":OrcJIT",
31233121
":Object",
31243122
":ObjectYAML",
3123+
":OrcJIT",
31253124
":Support",
31263125
":Target",
31273126
":config",
@@ -3251,9 +3250,9 @@ cc_binary(
32513250
":Interpreter",
32523251
":MCJIT",
32533252
":Object",
3253+
":OrcDebugging",
32543254
":OrcJIT",
32553255
":OrcTargetProcess",
3256-
":OrcDebugging",
32573256
":Support",
32583257
":TargetParser",
32593258
":config",
@@ -4705,7 +4704,7 @@ cc_binary(
47054704
srcs = glob([
47064705
"tools/llvm-symbolizer/*.cpp",
47074706
"tools/llvm-symbolizer/*.h",
4708-
]) + [ "llvm-symbolizer-driver.cpp"],
4707+
]) + ["llvm-symbolizer-driver.cpp"],
47094708
copts = llvm_copts,
47104709
stamp = 0,
47114710
deps = [
@@ -4818,7 +4817,6 @@ expand_template(
48184817
template = "cmake/modules/llvm-driver-template.cpp.in",
48194818
)
48204819

4821-
48224820
cc_binary(
48234821
name = "sancov",
48244822
srcs = glob([

0 commit comments

Comments
 (0)