1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/lib/Target/WebAssembly/MCTargetDesc
Wouter van Oortmerssen 1d61f2cb75 [WebAssembly] Modified tablegen defs to have 2 parallel instuction sets.
Summary:
One for register based, much like the existing definitions,
and one for stack based (suffix _S).

This allows us to use registers in most of LLVM (which works better),
and stack based in MC (which results in a simpler and more readable
assembler / disassembler).

Tried to keep this change as small as possible while passing tests,
follow-up commit will:
- Add reg->stack conversion in MI.
- Fix asm/disasm in MC to be stack based.
- Fix emitter to be stack based.

tests passing:
llvm-lit -v `find test -name WebAssembly`

test/CodeGen/WebAssembly
test/MC/WebAssembly
test/MC/Disassembler/WebAssembly
test/DebugInfo/WebAssembly
test/CodeGen/MIR/WebAssembly
test/tools/llvm-objdump/WebAssembly

Reviewers: dschuff, sbc100, jgravelle-google, sunfish

Subscribers: aheejin, JDevlieghere, llvm-commits

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

llvm-svn: 334985
2018-06-18 21:22:44 +00:00
..
CMakeLists.txt [WebAssembly] Add skeleton MC support for the Wasm container format 2017-02-22 01:23:18 +00:00
LLVMBuild.txt
WebAssemblyAsmBackend.cpp Fix compilation of WebAssembly and RISCV after r334078 2018-06-06 10:57:50 +00:00
WebAssemblyELFObjectWriter.cpp MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
WebAssemblyFixupKinds.h [WebAssembly] Basic support for Wasm object file encoding. 2017-02-24 23:18:00 +00:00
WebAssemblyMCAsmInfo.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
WebAssemblyMCAsmInfo.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
WebAssemblyMCCodeEmitter.cpp Support: Simplify endian stream interface. NFCI. 2018-05-18 19:46:24 +00:00
WebAssemblyMCTargetDesc.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
WebAssemblyMCTargetDesc.h [WebAssembly] Modified tablegen defs to have 2 parallel instuction sets. 2018-06-18 21:22:44 +00:00
WebAssemblyTargetStreamer.cpp Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
WebAssemblyTargetStreamer.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
WebAssemblyWasmObjectWriter.cpp MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00