aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/libclang/LibclangTest.cpp
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2025-04-23 09:15:25 -0700
committerGitHub <noreply@github.com>2025-04-23 09:15:25 -0700
commit24c860547e8e595f8bf8d87b52544e2aff243f2e (patch)
tree7d7167256a4ae470836e9a1596c058ae7187913d /clang/unittests/libclang/LibclangTest.cpp
parent8abc917fe04140b6c6088a67e0398f637efde808 (diff)
downloadllvm-24c860547e8e595f8bf8d87b52544e2aff243f2e.zip
llvm-24c860547e8e595f8bf8d87b52544e2aff243f2e.tar.gz
llvm-24c860547e8e595f8bf8d87b52544e2aff243f2e.tar.bz2
AMDGPU/MC: Fix emitting absolute expressions (#136789)
When absolute MCExprs appear in normal instruction operands, we have to emit them like a normal inline constant or literal. More generally, an MCExpr that happens to have an absolute evaluation should be treated exactly like an immediate operand here. No test; I found this downstream, and I don't think it can be triggered upstream yet. Fixes: 16238669 ("[AMDGPU][MC] Support UC_VERSION_* constants. (#95618)")
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions