diff options
author | vporpo <vporpodas@google.com> | 2025-01-27 20:16:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-27 20:16:30 -0800 |
commit | 334a1cdbfaafc5424c5932663728334d1cc46285 (patch) | |
tree | 959a68f41eb357f566984f26c0ecb99b45819479 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | fa9ac62d02fd6b5028f301ee398c3d3a1c0eacae (diff) | |
download | llvm-334a1cdbfaafc5424c5932663728334d1cc46285.zip llvm-334a1cdbfaafc5424c5932663728334d1cc46285.tar.gz llvm-334a1cdbfaafc5424c5932663728334d1cc46285.tar.bz2 |
[SandboxIR] createFunction() should always create a function (#124665)
This patch removes the assertion that checks for an existing function.
If one exists it will remove it and create a new one. This helps remove
a crash when a function declaration object already exists and we are
about to create a SandboxIR object for the definition.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions