aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2018-06-18 21:22:44 +0000
committerWouter van Oortmerssen <aardappel@gmail.com>2018-06-18 21:22:44 +0000
commit48dac3109e40e8870b454edf253e308d76625823 (patch)
tree56ccbb99fd9ce98b55dc3e1880016f8cea85ff30 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent932ba20af8742b2cf47ee8e3fa0e05e1c3a895de (diff)
downloadllvm-48dac3109e40e8870b454edf253e308d76625823.zip
llvm-48dac3109e40e8870b454edf253e308d76625823.tar.gz
llvm-48dac3109e40e8870b454edf253e308d76625823.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions