forked from OSchip/llvm-project
Hack for dealing with commas until we support multiple alternative constraints, per pr7338.
llvm-svn: 108028
This commit is contained in:
parent
2066e3ed47
commit
c438947242
|
@ -284,6 +284,8 @@ bool TargetInfo::validateOutputConstraint(ConstraintInfo &Info) const {
|
|||
Info.setAllowsRegister();
|
||||
Info.setAllowsMemory();
|
||||
break;
|
||||
case ',': // FIXME: Until we handle multiple alternative constraints,
|
||||
return true; // ignore everything after the first comma.
|
||||
}
|
||||
|
||||
Name++;
|
||||
|
@ -377,6 +379,8 @@ bool TargetInfo::validateInputConstraint(ConstraintInfo *OutputConstraints,
|
|||
Info.setAllowsRegister();
|
||||
Info.setAllowsMemory();
|
||||
break;
|
||||
case ',': // FIXME: Until we handle multiple alternative constraints,
|
||||
return true; // ignore everything after the first comma.
|
||||
}
|
||||
|
||||
Name++;
|
||||
|
|
Loading…
Reference in New Issue