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
parent
cf83e79a
Please register or sign in to comment