summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td6
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td13
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)],
OpenPOWER on IntegriCloud