[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp
Evan Cheng
evan.cheng at apple.com
Sun Jan 15 02:04:58 PST 2006
Changes in directory llvm/utils/TableGen:
DAGISelEmitter.cpp updated: 1.133 -> 1.134
---
Log message:
Type inferencing bug
---
Diffs of the changes: (+2 -0)
DAGISelEmitter.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/utils/TableGen/DAGISelEmitter.cpp
diff -u llvm/utils/TableGen/DAGISelEmitter.cpp:1.133 llvm/utils/TableGen/DAGISelEmitter.cpp:1.134
--- llvm/utils/TableGen/DAGISelEmitter.cpp:1.133 Thu Jan 12 13:35:54 2006
+++ llvm/utils/TableGen/DAGISelEmitter.cpp Sun Jan 15 04:04:45 2006
@@ -544,6 +544,8 @@
// Pattern fragment types will be resolved when they are inlined.
return Unknown;
} else if (R->isSubClassOf("Register")) {
+ if (NotRegisters)
+ return Unknown;
// If the register appears in exactly one regclass, and the regclass has one
// value type, use it as the known type.
const CodeGenTarget &T = TP.getDAGISelEmitter().getTargetInfo();
More information about the llvm-commits
mailing list