diff options
author | Valentin Clement <clementval@gmail.com> | 2023-02-13 15:42:25 +0100 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2023-02-13 15:44:12 +0100 |
commit | d904ee3d479a0731b2f0918c057081283102f790 (patch) | |
tree | fa470e67cad0c3849d734fb5dce5f32ed23e9a67 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 877859a09bda29fe9a7f1a9016b06cf80661a032 (diff) | |
download | llvm-d904ee3d479a0731b2f0918c057081283102f790.zip llvm-d904ee3d479a0731b2f0918c057081283102f790.tar.gz llvm-d904ee3d479a0731b2f0918c057081283102f790.tar.bz2 |
[flang] Handle correctly optional intrinsic scalar to unlimited polymorphic optional
When an optional intrinsic scalar is passed to a function expecting an
unlimited polymorphic dummy argument, the presence test must be done
before the emboxing otherwise it will result in a program crash.
Depends on D143888
Reviewed By: jeanPerier, PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D143889
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions