diff options
author | Max Beck-Jones <max.beck-jones@arm.com> | 2024-07-15 16:57:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 16:57:42 +0100 |
commit | a46d60ad32dbb14d82eda7d18ef7c418a51b22ff (patch) | |
tree | f53dcf7ba1330e83c48039356bcef7ca40ba7497 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | d5f4f084d29ce95fa27e5b7e80a630ae194df4bb (diff) | |
download | llvm-a46d60ad32dbb14d82eda7d18ef7c418a51b22ff.zip llvm-a46d60ad32dbb14d82eda7d18ef7c418a51b22ff.tar.gz llvm-a46d60ad32dbb14d82eda7d18ef7c418a51b22ff.tar.bz2 |
[NFC] [AArch64] Refactor predicate register class decode functions (#97412)
In a previous PR #81716, a new decoder function was added to
llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp. During
code review it was suggested that, as most of the decoder functions were
very similar in structure, that they be refactored into a single,
templated function. I have added the refactored function, removed the
definitions of the replaced functions, and replaced the references to
the replaced functions in AArch64Disassembler.cpp and
llvm/lib/Target/AArch64/AArch64RegisterInfo.td. To reduce the number of
duplicate references in AArch64RegisterInfo.td, I have also made a small
change to llvm/utils/TableGen/DecoderEmitter.cpp.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions