aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/DecoderEmitter.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2025-08-18 10:11:51 +0800
committerGitHub <noreply@github.com>2025-08-18 02:11:51 +0000
commit69e4514978cf77e2a13b3feb868053e4ad65a7cd (patch)
tree5049dace13d6a231597d847431f964663ae3bda0 /llvm/utils/TableGen/DecoderEmitter.cpp
parent97d5d483ecc67d0b786a53d065b7202908cb4047 (diff)
downloadllvm-69e4514978cf77e2a13b3feb868053e4ad65a7cd.zip
llvm-69e4514978cf77e2a13b3feb868053e4ad65a7cd.tar.gz
llvm-69e4514978cf77e2a13b3feb868053e4ad65a7cd.tar.bz2
[GlobalOpt] Do not fold away addrspacecasts which may be runtime operations (#153753)
Specifically in the context of the once-stored transformation, GlobalOpt would strip all pointer casts unconditionally, even though addrspacecasts might be runtime operations. This manifested particularly on CHERI targets. This patch was inspired by an existing change in CHERI LLVM (https://github.com/CHERIoT-Platform/llvm-project/commit/91afa60f17ea1b91e5cdba21a5c90400024b2b6a), but has been reimplemented with updated conventions, and a testcase constructed from scratch.
Diffstat (limited to 'llvm/utils/TableGen/DecoderEmitter.cpp')
0 files changed, 0 insertions, 0 deletions