[PATCH] D64705: Add missing utility methods for exnref type
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 14 04:33:43 PDT 2019
aheejin created this revision.
aheejin added a reviewer: tlively.
Herald added subscribers: llvm-commits, hiraditya, jgravelle-google, sbc100, dschuff.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D64705
Files:
llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
llvm/test/CodeGen/WebAssembly/reg-argument.mir
llvm/test/CodeGen/WebAssembly/reg-copy.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64705.209721.patch
Type: text/x-patch
Size: 3710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190714/c4c12e78/attachment.bin>
More information about the llvm-commits
mailing list