summaryrefslogtreecommitdiff
path: root/utils/TableGen/FastISelEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/FastISelEmitter.cpp')
-rw-r--r--utils/TableGen/FastISelEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/FastISelEmitter.cpp b/utils/TableGen/FastISelEmitter.cpp
index 6a909955ab..243208612d 100644
--- a/utils/TableGen/FastISelEmitter.cpp
+++ b/utils/TableGen/FastISelEmitter.cpp
@@ -108,10 +108,10 @@ struct OperandsSignature {
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)