diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-07-15 23:04:00 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2019-07-15 23:04:00 +0000 |
commit | 1cf6922660187c93f9203ea63e90b02514f08e79 (patch) | |
tree | 772b0c3dcc86b8f4b28c29de22d5e4e5c1dfa5c2 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | b5701710a4297040b8d80eaf444d560aeba0867c (diff) | |
download | llvm-1cf6922660187c93f9203ea63e90b02514f08e79.zip llvm-1cf6922660187c93f9203ea63e90b02514f08e79.tar.gz llvm-1cf6922660187c93f9203ea63e90b02514f08e79.tar.bz2 |
[WebAssembly] Add missing utility methods for exnref type
Summary:
This adds missing utility methods and copy instruction handling for
`exnref` type and also adds tests.
`tee` instruction tests are missing because `isTee` is currently only
used in ExplicitLocals pass and testing that pass in mir requires
serialization of stackified registers in mir files, which is a bit
nontrivial because `MachineFunctionInfo` only has info of vreg numbers
(which are large integers) but not the mir's register numbers. But this
change is quite trivial anyway.
Reviewers: tlively
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64705
llvm-svn: 366149
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions