diff options
author | Dan Gohman <dan433584@gmail.com> | 2015-11-13 00:41:25 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2015-11-13 00:41:25 +0000 |
commit | c9dd057e3ccdbe44dd2aa2fd0303ff9a26c45f15 (patch) | |
tree | 4d9a5c4651d92d2a4bc40f6c5c99e1de42ce54e5 | |
parent | b1daa3aec7e2f9265133d34ad7242c553fa888f6 (diff) | |
download | bcm5719-llvm-c9dd057e3ccdbe44dd2aa2fd0303ff9a26c45f15.tar.gz bcm5719-llvm-c9dd057e3ccdbe44dd2aa2fd0303ff9a26c45f15.zip |
[WebAssembly] Remove unneeded TODO items. NFC.
llvm-svn: 252985
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td | 6 | ||||
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td | 13 |
2 files changed, 0 insertions, 19 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td index d175b6ae626..d434389640e 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td @@ -42,9 +42,3 @@ let Uses = [SP32, SP64], isCall = 1 in { [(WebAssemblycall0 I32:$callee)], "call_indirect $callee">; } // Uses = [SP32,SP64], isCall = 1 - -/* - * TODO(jfb): Add the following. - * - * addressof: obtain a function pointer value for a given function - */ diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td index acfd738a8fa..b5140324d4f 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td @@ -12,19 +12,6 @@ /// //===----------------------------------------------------------------------===// -/* - * TODO(jfb): Add the following. - * - * block: a fixed-length sequence of statements - * if: if statement - * do_while: do while statement, basically a loop with a conditional branch - * forever: infinite loop statement (like while (1)), basically an unconditional - * branch (back to the top of the loop) - * continue: continue to start of nested loop - * break: break to end from nested loop or block - * switch: switch statement with fallthrough - */ - let isBranch = 1, isTerminator = 1, hasCtrlDep = 1 in { def BR_IF_ : I<(outs), (ins bb_op:$dst, I32:$a), [(brcond I32:$a, bb:$dst)], |