projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cf7326
)
add a fixme.
author
Chris Lattner
<sabre@nondot.org>
Fri, 25 Jan 2008 06:20:20 +0000
(06:20 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 25 Jan 2008 06:20:20 +0000
(06:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46346
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/SelectionDAG.h
b/include/llvm/CodeGen/SelectionDAG.h
index d17762a8ff79520e3f60f4b0f422136476d92579..a9ad9a452d4507b745195feee5c2c07f921768cc 100644
(file)
--- 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: