[clang] [CIR] Disable CIR pipeline for LLVM IR inputs (PR #187729)

Jan Leyonberg via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 24 09:51:28 PDT 2026


================
@@ -5080,7 +5080,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
     }
   }
 
-  if (Args.hasArg(options::OPT_fclangir))
+  if (Args.hasArg(options::OPT_fclangir) && !types::isLLVMIR(Input.getType()))
----------------
jsjodin wrote:

Okay, I updated the PR now, including title and description.

https://github.com/llvm/llvm-project/pull/187729


More information about the cfe-commits mailing list