summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Nios2
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-04-04 12:37:44 +0000
committerNico Weber <nicolasweber@gmx.de>2018-04-04 12:37:44 +0000
commit1cbd0969143e1e7c016fcfda5866a598e5e4b765 (patch)
treed36c95cd33587ad51f6aec0133d839c5fe4a2b6e /llvm/lib/Target/Nios2
parent55d717805ba4731f1b09d09d9d9fd53527c60add (diff)
downloadbcm5719-llvm-1cbd0969143e1e7c016fcfda5866a598e5e4b765.tar.gz
bcm5719-llvm-1cbd0969143e1e7c016fcfda5866a598e5e4b765.zip
Sort targetgen calls in lib/Target/*/CMakeLists.
Makes it easier to see mistakes such as the one fixed in r329178 and makes the different target CMakeLists more consistent. Also remove some stale-looking comments from the Nios2 target cmakefile. No intended behavior change. llvm-svn: 329181
Diffstat (limited to 'llvm/lib/Target/Nios2')
-rw-r--r--llvm/lib/Target/Nios2/CMakeLists.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/llvm/lib/Target/Nios2/CMakeLists.txt b/llvm/lib/Target/Nios2/CMakeLists.txt
index 7cad3c5ba9c..6393cc5fcb9 100644
--- a/llvm/lib/Target/Nios2/CMakeLists.txt
+++ b/llvm/lib/Target/Nios2/CMakeLists.txt
@@ -1,17 +1,12 @@
set(LLVM_TARGET_DEFINITIONS Nios2.td)
-#Generate Nios2GenRegisterInfo.inc and Nios2GenInstrInfo.inc which included by
-#your hand code C++ files.
-#Nios2GenRegisterInfo.inc came from Nios2RegisterInfo.td, Nios2GenInstrInfo.inc
-#came from Nios2InstrInfo.td.
tablegen(LLVM Nios2GenAsmWriter.inc -gen-asm-writer)
-tablegen(LLVM Nios2GenDAGISel.inc -gen-dag-isel)
-tablegen(LLVM Nios2GenRegisterInfo.inc -gen-register-info)
tablegen(LLVM Nios2GenCallingConv.inc -gen-callingconv)
+tablegen(LLVM Nios2GenDAGISel.inc -gen-dag-isel)
tablegen(LLVM Nios2GenInstrInfo.inc -gen-instr-info)
+tablegen(LLVM Nios2GenRegisterInfo.inc -gen-register-info)
tablegen(LLVM Nios2GenSubtargetInfo.inc -gen-subtarget)
-#Nios2CommonTableGen must be defined
add_public_tablegen_target(Nios2CommonTableGen)
#Nios2CodeGen should match with LLVMBuild.txt Nios2CodeGen
OpenPOWER on IntegriCloud