From 80bb81536c5efab61117b7f86479f1dac85497bf Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 13 Nov 2015 00:41:25 +0000 Subject: [PATCH] [WebAssembly] Remove unneeded TODO items. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252985 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/WebAssembly/WebAssemblyInstrCall.td | 6 ------ lib/Target/WebAssembly/WebAssemblyInstrControl.td | 13 ------------- 2 files changed, 19 deletions(-) diff --git a/lib/Target/WebAssembly/WebAssemblyInstrCall.td b/lib/Target/WebAssembly/WebAssemblyInstrCall.td index d175b6ae626..d434389640e 100644 --- a/lib/Target/WebAssembly/WebAssemblyInstrCall.td +++ b/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/lib/Target/WebAssembly/WebAssemblyInstrControl.td b/lib/Target/WebAssembly/WebAssemblyInstrControl.td index acfd738a8fa..b5140324d4f 100644 --- a/lib/Target/WebAssembly/WebAssemblyInstrControl.td +++ b/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)], -- 2.34.1