diff options
Diffstat (limited to 'lib/Basic/TargetInfo.cpp')
-rw-r--r-- | lib/Basic/TargetInfo.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp index d1e351077e..1e8ca2bd56 100644 --- a/lib/Basic/TargetInfo.cpp +++ b/lib/Basic/TargetInfo.cpp @@ -264,9 +264,17 @@ bool TargetInfo::validateInputConstraint(ConstraintInfo *OutputConstraints, // FIXME: Fail if % is used with the last operand. break; case 'i': // immediate integer. - case 'I': case 'n': // immediate integer with a known value. break; + case 'I': // Various constant constraints with target-specific meanings. + case 'J': + case 'K': + case 'L': + case 'M': + case 'N': + case 'O': + case 'P': + break; case 'r': // general register. Info.setAllowsRegister(); break; |