aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2023-10-31 09:01:43 -0500
committerGitHub <noreply@github.com>2023-10-31 09:01:43 -0500
commit73c6248cc2cc3acd01c3580bfdc64825c09a0fd6 (patch)
tree4e3bcc21f29733783e4477c11693cf9441e8774b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent913a1d5a5a1ba6e85144b21cde82a27a9c7e1a70 (diff)
downloadllvm-73c6248cc2cc3acd01c3580bfdc64825c09a0fd6.zip
llvm-73c6248cc2cc3acd01c3580bfdc64825c09a0fd6.tar.gz
llvm-73c6248cc2cc3acd01c3580bfdc64825c09a0fd6.tar.bz2
[mlir][MemRefToLLVM] Fix crashes with unconvertable memory spaces (#70694)
Fixes #70160 The issue is resolved by: 1. Changing the call to address space conversion to use the correct return type, preventing the code from moving past the if and into the crashing optional dereference. 2. Adding handling to the AllocLikeOp rewriter for the case where the underlying buffer allocation fails.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions