diff options
author | Andy Wingo <wingo@igalia.com> | 2021-03-02 12:18:16 +0100 |
---|---|---|
committer | Andy Wingo <wingo@igalia.com> | 2021-03-03 08:51:21 +0100 |
commit | 4307069df442007e6ceb5a914031bb95a455386d (patch) | |
tree | e4af3dce47d75b1a0d012049125006207afcaa9a /llvm/lib/FileCheck/FileCheck.cpp | |
parent | 50e34497ac8d2a74ef644519df033e16876d0c25 (diff) | |
download | llvm-4307069df442007e6ceb5a914031bb95a455386d.zip llvm-4307069df442007e6ceb5a914031bb95a455386d.tar.gz llvm-4307069df442007e6ceb5a914031bb95a455386d.tar.bz2 |
[WebAssembly] Swap operand order of call_indirect in text format
The WebAssembly text and binary formats have different operand orders
for the "type" and "table" fields of call_indirect (and
return_call_indirect). In LLVM we use the binary order for the MCInstr,
but when we produce or consume the text format we should use the text
order. For compilation units targetting WebAssembly 1.0 (without the
reference types feature), we omit the table operand entirely.
Differential Revision: https://reviews.llvm.org/D97761
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions