Integrate LLVM to llvm/llvm-project@920022915a8a (#25177)

LLVM staging branch: `sm-iree-integrates/llvm-20261103`

Keeps a cherry-pick of llvm/llvm-project#238761 to fix the MMA
slice-cache regression introduced in llvm/llvm-project@d287e55d0302.

Additionally:
- Print the pass pipeline for `-print-pipeline-passes` with a helper, as
`OpPassManager::dump()` is only available in builds with assertions or
`LLVM_ENABLE_DUMP` (llvm/llvm-project@4d787f35aaba)

Assisted-by: Claude Code

Signed-off-by: Roberto Laudani <laudani@roofline.ai>
diff --git a/compiler/src/iree/compiler/API/Internal/CompilerDriver.cpp b/compiler/src/iree/compiler/API/Internal/CompilerDriver.cpp
index 0dc4e36..b0bdb79 100644
--- a/compiler/src/iree/compiler/API/Internal/CompilerDriver.cpp
+++ b/compiler/src/iree/compiler/API/Internal/CompilerDriver.cpp
@@ -1152,6 +1152,13 @@
           std::string(path.begin(), path.end())}));
 }
 
+/// Prints the number of passes and the pretty-printed pipeline to stderr.
+void printPassPipeline(const OpPassManager &passManager) {
+  llvm::errs() << "Pass Manager with " << passManager.size() << " passes:\n";
+  passManager.printAsTextualPipeline(llvm::errs(), /*pretty=*/true);
+  llvm::errs() << "\n";
+}
+
 bool Invocation::runPipeline(enum iree_compiler_pipeline_t pipeline) {
   auto passManager = createPassManager();
 
@@ -1240,7 +1247,7 @@
   }
 
   if (session.globalInit.printPipelinePasses) {
-    passManager->dump();
+    printPassPipeline(*passManager);
   }
   if (failed(passManager->run(parsedModule))) {
     return false;
@@ -1258,7 +1265,7 @@
   }
 
   if (session.globalInit.printPipelinePasses) {
-    passManager->dump();
+    printPassPipeline(*passManager);
   }
   if (failed(passManager->run(parsedModule))) {
     return false;
diff --git a/third_party/llvm-project b/third_party/llvm-project
index f1ee8b3..333b4ad 160000
--- a/third_party/llvm-project
+++ b/third_party/llvm-project
@@ -1 +1 @@
-Subproject commit f1ee8b38f40fd1f0e9596197b8e690eb9b57ec0c
+Subproject commit 333b4ad05124f11ccb76d5ed377dde70d9238405