Fix potential crash in Flang generateLLVMIR() when MLIR fails to translate to LLVM
This is pure code motion, to ensure that the check if we have a valid llvmModule comes before trying to set option on this module. Differential Revision: https://reviews.llvm.org/D144342
Loading
Please sign in to comment