From c9dd057e3ccdbe44dd2aa2fd0303ff9a26c45f15 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 13 Nov 2015 00:41:25 +0000 Subject: [WebAssembly] Remove unneeded TODO items. NFC. llvm-svn: 252985 --- llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td | 6 ------ llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td | 13 ------------- 2 files changed, 19 deletions(-) (limited to 'llvm/lib/Target/WebAssembly') 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)], -- cgit v1.2.3