[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Evan Cheng
evan.cheng at apple.com
Wed Jan 25 18:13:42 PST 2006
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.142 -> 1.143
---
Log message:
Add a FIXME comment.
---
Diffs of the changes: (+1 -0)
DAGISelEmitter.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.142 llvm/utils/TableGen/DAGISelEmitter.cpp:1.143
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.142 Wed Jan 25 18:22:25 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Wed Jan 25 20:13:31 2006
@@ -1932,6 +1932,7 @@
// Don't fold any node which reads or writes a flag and has multiple uses.
// FIXME: we really need to separate the concepts of flag and "glue". Those
// real flag results, e.g. X86CMP output, can have multiple uses.
+ // FIXME: If the incoming flag is optional. Then it is ok to fold it.
if (!EmittedCheck &&
(PatternHasProperty(N, SDNodeInfo::SDNPInFlag, ISE) ||
PatternHasProperty(N, SDNodeInfo::SDNPOptInFlag, ISE) ||
More information about the llvm-commits
mailing list