diff options
| author | Heejin Ahn <aheejin@gmail.com> | 2018-10-23 00:28:14 +0000 |
|---|---|---|
| committer | Heejin Ahn <aheejin@gmail.com> | 2018-10-23 00:28:14 +0000 |
| commit | a40303aa0395822ab14a84d557ce0dff86261af6 (patch) | |
| tree | 2deb02f53b88d412984d3e1d66b5dabd44532fbd /llvm/lib | |
| parent | 45f143c316ce03290df0ddd0d8a2beb91dee48de (diff) | |
| download | bcm5719-llvm-a40303aa0395822ab14a84d557ce0dff86261af6.tar.gz bcm5719-llvm-a40303aa0395822ab14a84d557ce0dff86261af6.zip | |
[WebAssembly] Fix assembly printing of br_table
Summary: In `br_table's stack version asm string, \t was missing.
Reviewers: aardappel
Subscribers: dschuff, sbc100, jgravelle-google, sunfish, llvm-commits
Differential Revision: https://reviews.llvm.org/D53516
llvm-svn: 344981
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td index be9cdc59a69..0af94ef8755 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td @@ -51,7 +51,7 @@ def BR_TABLE_I32 : NI<(outs), (ins I32:$index, variable_ops), let BaseName = "BR_TABLE_I32" in def BR_TABLE_I32_S : NI<(outs), (ins variable_ops), [], "true", - "br_table", 0x0e> { + "br_table \t", 0x0e> { let TSFlags{0} = 1; let TSFlags{1} = 1; } @@ -65,7 +65,7 @@ def BR_TABLE_I64 : NI<(outs), (ins I64:$index, variable_ops), let BaseName = "BR_TABLE_I64" in def BR_TABLE_I64_S : NI<(outs), (ins variable_ops), [], "true", - "br_table"> { + "br_table \t"> { let TSFlags{0} = 1; let TSFlags{1} = 1; } |

