29 lines
665 B
Plaintext
29 lines
665 B
Plaintext
import("//llvm/utils/unittest/unittest.gni")
|
|
|
|
unittest("GlobalISelTests") {
|
|
deps = [
|
|
"//llvm/lib/CodeGen",
|
|
"//llvm/lib/CodeGen/GlobalISel",
|
|
"//llvm/lib/CodeGen/MIRParser",
|
|
"//llvm/lib/FileCheck",
|
|
"//llvm/lib/IR",
|
|
"//llvm/lib/MC",
|
|
"//llvm/lib/Support",
|
|
"//llvm/lib/Target",
|
|
"//llvm/lib/Target:TargetsToBuild",
|
|
]
|
|
sources = [
|
|
"CSETest.cpp",
|
|
"ConstantFoldingTest.cpp",
|
|
"GISelMITest.cpp",
|
|
"GISelUtilsTest.cpp",
|
|
"KnownBitsTest.cpp",
|
|
"LegalizerHelperTest.cpp",
|
|
"LegalizerInfoTest.cpp",
|
|
"LegalizerTest.cpp",
|
|
"MachineIRBuilderTest.cpp",
|
|
"PatternMatchTest.cpp",
|
|
]
|
|
has_custom_main = true
|
|
}
|