This allows the constraint A to be used in inline asm for RISC-V, which allows an address held in a register to be used.
This patch adds the minimal amount of code required to get operands with the right constraints to compile.
Paths
| Differential D54295
[RISCV] Add inline asm constraint A for RISC-V ClosedPublic Authored by lewis-revill on Nov 9 2018, 1:21 AM.
Details
Summary This allows the constraint A to be used in inline asm for RISC-V, which allows an address held in a register to be used. This patch adds the minimal amount of code required to get operands with the right constraints to compile.
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, jocewei, PkmX and 18 others. · View Herald TranscriptNov 9 2018, 1:21 AM lewis-revill added a parent revision: D54296: [RISCV] Lower inline asm constraint A for RISC-V.Nov 9 2018, 1:26 AM lewis-revill added a parent revision: D54091: [RISCV] Add inline asm constraints I, J & K for RISC-V.Nov 9 2018, 1:29 AM This revision now requires changes to proceed.Feb 6 2019, 7:00 AM lewis-revill retitled this revision from [WIP, RISCV] Add inline asm constraint A for RISC-V to [RISCV] Add inline asm constraint A for RISC-V. Closed by commit rL369093: [RISCV] Add inline asm constraint A for RISC-V (authored by lewis-revill). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 215556 cfe/trunk/lib/Basic/Targets/RISCV.cpp
cfe/trunk/test/CodeGen/riscv-inline-asm.c
|