HomePhabricator

[RISCV] MC layer support for the instructions added in the privileged spec

Description

[RISCV] MC layer support for the instructions added in the privileged spec

Adds support for the instructions added in the RISC-V privileged ISA
(https://content.riscv.org/wp-content/uploads/2017/05/riscv-privileged-v1.10.pdf):
uret, sret, mret, wfi, and sfence.vma.

Note from the committer: I made very minor formatting changes prior to commit,
which didn't seem worth creating another review round-trip for.

Differential Revision: https://reviews.llvm.org/D40383

Patch by David Craven.

Details

Committed
asbDec 12 2017, 7:17 AM
Differential Revision
D40383: Add RISCV privileged instructions
Parents
rL320483: [InstCombine] Fix PR35618: Instcombine hangs on single minmax load bitcast.
Branches
Unknown
Tags
Unknown