Replace usages of 'add_executable' with 'add_llvm_executable'.
authorRiver Riddle <riverriddle@google.com>
Thu, 30 May 2019 15:23:49 +0000 (08:23 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:10:32 +0000 (20:10 -0700)
--

PiperOrigin-RevId: 250691487

mlir/examples/Linalg/Linalg1/lib/CMakeLists.txt
mlir/test/EDSC/CMakeLists.txt
mlir/test/SDBM/CMakeLists.txt
mlir/test/TestDialect/CMakeLists.txt
mlir/tools/mlir-cpu-runner/CMakeLists.txt
mlir/tools/mlir-opt/CMakeLists.txt
mlir/tools/mlir-translate/CMakeLists.txt

index 54bf01f..064d0e8 100644 (file)
@@ -52,7 +52,7 @@ add_llvm_library(Linalg1DialectConstruction
   )
 target_link_libraries(Linalg1DialectConstruction PUBLIC Linalg1)
 
-add_executable(linalg1-opt
+add_llvm_executable(linalg1-opt
   DialectRegistration.cpp
   )
 llvm_update_compile_flags(linalg1-opt)
index 01fc5ec..17dda5c 100644 (file)
@@ -1,4 +1,4 @@
-add_executable(mlir-edsc-builder-api-test
+add_llvm_executable(mlir-edsc-builder-api-test
   builder-api-test.cpp
 )
 
index 321a37d..d1ced9a 100644 (file)
@@ -1,4 +1,4 @@
-add_executable(mlir-sdbm-api-test
+add_llvm_executable(mlir-sdbm-api-test
   sdbm-api-test.cpp
 )
 
index b0b5027..83075f6 100644 (file)
@@ -16,7 +16,7 @@ target_link_libraries(MLIRTestDialect
   LLVMSupport
 )
 
-add_executable(mlir-test-opt
+add_llvm_executable(mlir-test-opt
   ${MLIR_MAIN_SRC_DIR}/../tools/mlir-opt/mlir-opt.cpp
 )
 llvm_update_compile_flags(mlir-test-opt)
index 9460264..b680c5c 100644 (file)
@@ -23,7 +23,7 @@ add_llvm_library(MLIRCPURunnerLib
 )
 target_link_libraries(MLIRCPURunnerLib ${LIBS})
 
-add_executable(mlir-cpu-runner
+add_llvm_executable(mlir-cpu-runner
   mlir-cpu-runner.cpp
 )
 llvm_update_compile_flags(mlir-cpu-runner)
index 276be6a..d671594 100644 (file)
@@ -34,7 +34,7 @@ set(LIBS
   MLIRSupport
   MLIRVectorOps
 )
-add_executable(mlir-opt
+add_llvm_executable(mlir-opt
  mlir-opt.cpp
 )
 llvm_update_compile_flags(mlir-opt)
index 3d4e96a..b22d988 100644 (file)
@@ -12,7 +12,7 @@ set(LIBS
   MLIRSupport
   MLIRVectorOps
 )
-add_executable(mlir-translate
+add_llvm_executable(mlir-translate
   mlir-translate.cpp
 )
 llvm_update_compile_flags(mlir-translate)