Add a FIXME comment.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 26 Jan 2006 02:13:31 +0000 (02:13 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 26 Jan 2006 02:13:31 +0000 (02:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25635 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index 9dfbe1135241a9b66a3d063bf03dd9cc9551ee8a..7b00b4e4dc6d83e7392eeebc683c29646e6a563d 100644 (file)
@@ -1932,6 +1932,7 @@ public:
     // 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) ||