[llvm-commits] [llvm] r111996 - /llvm/trunk/utils/TableGen/FastISelEmitter.cpp
Eric Christopher
echristo at apple.com
Tue Aug 24 16:21:59 PDT 2010
Author: echristo
Date: Tue Aug 24 18:21:59 2010
New Revision: 111996
URL: http://llvm.org/viewvc/llvm-project?rev=111996&view=rev
Log:
Fix comment.
Modified:
llvm/trunk/utils/TableGen/FastISelEmitter.cpp
Modified: llvm/trunk/utils/TableGen/FastISelEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/FastISelEmitter.cpp?rev=111996&r1=111995&r2=111996&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/FastISelEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/FastISelEmitter.cpp Tue Aug 24 18:21:59 2010
@@ -108,10 +108,10 @@
else
return false;
- // For now, require the register operands' register classes to all
- // be the same.
+ // For now, this needs to be a register class of some sort.
if (!RC)
return false;
+
// For now, all the operands must have the same register class.
if (DstRC) {
if (DstRC != RC)
More information about the llvm-commits
mailing list