diff options
author | Dan Gohman <dan433584@gmail.com> | 2016-10-03 22:43:53 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2016-10-03 22:43:53 +0000 |
commit | e040533ecec5b1c0ab83c1c7b65342d46478afc5 (patch) | |
tree | a6b4a39b1f634ba7c71c9099947c293a693b09d2 /llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td | |
parent | ffc184bb1dd8a0f0815f12272286d24a2adefcc1 (diff) | |
download | bcm5719-llvm-e040533ecec5b1c0ab83c1c7b65342d46478afc5.tar.gz bcm5719-llvm-e040533ecec5b1c0ab83c1c7b65342d46478afc5.zip |
[WebAssembly] Update to more stack-machine-oriented terminology.
WebAssembly has officially switched from being an AST to being a stack
machine. Update various bits of terminology and README.md entries
accordingly.
llvm-svn: 283154
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td index e357af63bae..a3e7f012089 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td @@ -59,14 +59,14 @@ def BR_TABLE_I64 : I<(outs), (ins I64:$index, variable_ops), } // isTerminator = 1, hasCtrlDep = 1, isBarrier = 1 // Placemarkers to indicate the start or end of a block or loop scope. These -// use/clobber EXPR_STACK to prevent them from being moved into the middle of +// use/clobber VALUE_STACK to prevent them from being moved into the middle of // an expression tree. -let Uses = [EXPR_STACK], Defs = [EXPR_STACK] in { +let Uses = [VALUE_STACK], Defs = [VALUE_STACK] in { def BLOCK : I<(outs), (ins), [], "block">; def LOOP : I<(outs), (ins), [], "loop">; def END_BLOCK : I<(outs), (ins), [], "end_block">; def END_LOOP : I<(outs), (ins), [], "end_loop">; -} // Uses = [EXPR_STACK], Defs = [EXPR_STACK] +} // Uses = [VALUE_STACK], Defs = [VALUE_STACK] multiclass RETURN<WebAssemblyRegClass vt> { def RETURN_#vt : I<(outs), (ins vt:$val), [(WebAssemblyreturn vt:$val)], |