Integrate LLVM at llvm/llvm-project@c89dff5855bb
Updates LLVM usage to match
[c89dff5855bb](https://github.com/llvm/llvm-project/commit/c89dff5855bb)
PiperOrigin-RevId: 377199586
diff --git a/SUBMODULE_VERSIONS.txt b/SUBMODULE_VERSIONS.txt
index 54b4263..2a0fd18 100644
--- a/SUBMODULE_VERSIONS.txt
+++ b/SUBMODULE_VERSIONS.txt
@@ -5,7 +5,7 @@
b1fbd33c06cdb0024c67733c6fdec2009d17b384 third_party/googletest
88b845dee001723c4a0db1fe5477de735b6d3bb0 third_party/liburing
b7a0b7c548445a918ec78d1cf4d2ebe41a85173f third_party/llvm-bazel
-b25546a4b40675b596dcfdbfd491b10fa12d88e6 third_party/llvm-project
+c89dff5855bb32d47751cce087537c2b12a90f1b third_party/llvm-project
108a78da82049553b41c7a0f5987c67d5006af8d third_party/mlir-emitc
4620410f18923a0993ef009870256c26896370cb third_party/mlir-hlo
d8c7ee00a687ac369e62e2032514a93a9b413502 third_party/pybind11
diff --git a/iree/samples/custom_modules/dialect/custom-translate-main.cc b/iree/samples/custom_modules/dialect/custom-translate-main.cc
index 552eebc..ae9d107 100644
--- a/iree/samples/custom_modules/dialect/custom-translate-main.cc
+++ b/iree/samples/custom_modules/dialect/custom-translate-main.cc
@@ -62,6 +62,8 @@
mlir::registerMlirTranslations();
mlir::iree_compiler::registerIreeTranslations();
mlir::iree_compiler::registerLinalgToSPIRVPasses();
+ // Make sure command line options are registered.
+ (void)mlir::iree_compiler::IREE::HAL::getTargetOptionsFromFlags();
// Register MLIRContext command-line options like
// -mlir-print-op-on-diagnostic.
diff --git a/iree/tools/iree-run-mlir-main.cc b/iree/tools/iree-run-mlir-main.cc
index bb85606..25db2c8 100644
--- a/iree/tools/iree-run-mlir-main.cc
+++ b/iree/tools/iree-run-mlir-main.cc
@@ -497,6 +497,8 @@
mlir::iree_compiler::registerHALTargetBackends();
mlir::iree_compiler::registerVMTargets();
mlir::registerLLVMDialectTranslation(registry);
+ // Make sure command line options are registered.
+ (void)mlir::iree_compiler::IREE::HAL::getTargetOptionsFromFlags();
// Register MLIRContext command-line options like
// -mlir-print-op-on-diagnostic.
diff --git a/iree/tools/iree-translate-main.cc b/iree/tools/iree-translate-main.cc
index be7997e..81642a8 100644
--- a/iree/tools/iree-translate-main.cc
+++ b/iree/tools/iree-translate-main.cc
@@ -82,6 +82,8 @@
#endif // IREE_HAVE_EMITC_DIALECT
mlir::iree_compiler::registerIreeTranslations();
mlir::iree_compiler::registerLinalgToSPIRVPasses();
+ // Make sure command line options are registered.
+ (void)mlir::iree_compiler::IREE::HAL::getTargetOptionsFromFlags();
// Register MLIRContext command-line options like
// -mlir-print-op-on-diagnostic.
diff --git a/third_party/llvm-project b/third_party/llvm-project
index b25546a..c89dff5 160000
--- a/third_party/llvm-project
+++ b/third_party/llvm-project
@@ -1 +1 @@
-Subproject commit b25546a4b40675b596dcfdbfd491b10fa12d88e6
+Subproject commit c89dff5855bb32d47751cce087537c2b12a90f1b