================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to