[InstCombine] Signed saturation patterns
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / ARM / Utils / BUILD.gn
blobfc541fa026fdf09b04bb25e95cd5467d749614f4
1 import("//llvm/utils/TableGen/tablegen.gni")
3 # Generates ARMGenSystemRegister.inc
4 tablegen("ARMGenSystemRegister") {
5   visibility = [ ":Utils" ]
6   args = [ "-gen-searchable-tables" ]
7   td_file = "../ARM.td"
10 static_library("Utils") {
11   output_name = "LLVMARMUtils"
12   public_deps = [
13     ":ARMGenSystemRegister",
14   ]
15   deps = [
16     "//llvm/lib/Support",
18     # MCTargetDesc depends on Utils, so we can't depend on the full
19     # MCTargetDesc target here: it would form a cycle.
20     "//llvm/lib/Target/ARM/MCTargetDesc:tablegen",
21   ]
23   # ARMBaseInfo.h includes a header from MCTargetDesc,
24   # https://reviews.llvm.org/D35209#1075113 :-/
25   include_dirs = [ ".." ]
26   sources = [
27     "ARMBaseInfo.cpp",
28   ]