diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2023-02-18 22:14:20 -0800 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2023-02-19 08:55:46 -0800 |
commit | 723cd2e953d245ca9d6df6c4f3852d3ebbe0b253 (patch) | |
tree | b09602581823540b348808f22500b5095db7df4b /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp | |
parent | cf83e79a4bc8d641d50d9412f71f6e6c67338737 (diff) | |
download | llvm-723cd2e953d245ca9d6df6c4f3852d3ebbe0b253.zip llvm-723cd2e953d245ca9d6df6c4f3852d3ebbe0b253.tar.gz llvm-723cd2e953d245ca9d6df6c4f3852d3ebbe0b253.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions