diff options
author | Fabian Ritter <fabian.ritter@amd.com> | 2024-05-31 08:40:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 08:40:54 +0200 |
commit | 0821b7937c2b7528b1d3a0fa06eb241ae9ce4074 (patch) | |
tree | 8b0c151abd53e9e577d0ffe8435eb4ba61605097 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 5228c2cbd6d834a76c24ca9f2aaa2c4f7a0b5510 (diff) | |
download | llvm-0821b7937c2b7528b1d3a0fa06eb241ae9ce4074.zip llvm-0821b7937c2b7528b1d3a0fa06eb241ae9ce4074.tar.gz llvm-0821b7937c2b7528b1d3a0fa06eb241ae9ce4074.tar.bz2 |
[AMDGPU] Copy Defs and Uses from Pseudo to Real Instructions (#93004)
Currently, the tablegen files that generate the instruction definitions
in lib/Target/AMDGPU/AMDGPUGenInstrInfo.inc often only include implicit
operands for the architecture-independent pseudo instructions, but not
for the corresponding real instructions. The missing implicit operands
(most prominently: the EXEC mask) do not affect code generation, since
that operates on pseudo instructions, but they are problematic when
working with real instructions, e.g., as a decoding result from the MC
layer.
This patch copies the implicit Defs and Uses from pseudo instructions to
the corresponding real instructions, so that implicit operands are also
defined for real instructions.
Addresses issue #89830.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions