diff options
author | Sam Elliott <quic_aelliott@quicinc.com> | 2024-10-14 15:07:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 14:07:35 +0100 |
commit | 429387a71ce20b7890cc32073c61c4114053b558 (patch) | |
tree | 9b69b70d39efa6fda7a25163989792c838634844 /llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp | |
parent | e692af85966903614d470a7742ed89d124baf1a6 (diff) | |
download | llvm-429387a71ce20b7890cc32073c61c4114053b558.zip llvm-429387a71ce20b7890cc32073c61c4114053b558.tar.gz llvm-429387a71ce20b7890cc32073c61c4114053b558.tar.bz2 |
[RISCV] Support Expressions in .insn Directives (#111893)
When assembling raw instructions, often you want to or together several
fields for clarity, or because you're using an assembly macro with
separate arguments.
This brings the use of `.insn` closer into line with what can be done
with the binutils assembler.
The 64-bit instruction test here explicitly sets the top bit to make
sure this works, even though the assembler is really using `int64_t`
in most places internally.
Diffstat (limited to 'llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp')
0 files changed, 0 insertions, 0 deletions