aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-25 06:20:20 +0000
committerChris Lattner <sabre@nondot.org>2008-01-25 06:20:20 +0000
commit4ae9e0c5301126d7f2d4b2975eb86ed21f7b574d (patch)
tree5aef71df2a411efeb3ac12cdc5245de1340e5b4d
parent6cf73267c6fc8f1d9287b6eba1aa202693040f53 (diff)
add a fixme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46346 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index d17762a8ff..a9ad9a452d 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -499,6 +499,8 @@ public:
/// isCommutativeBinOp - Returns true if the opcode is a commutative binary
/// operation.
static bool isCommutativeBinOp(unsigned Opcode) {
+ // FIXME: This should get its info from the td file, so that we can include
+ // target info.
switch (Opcode) {
case ISD::ADD:
case ISD::MUL: