diff options
Diffstat (limited to 'lib/Basic/TargetInfo.cpp')
| -rw-r--r-- | lib/Basic/TargetInfo.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp index 6692e641f2a4..e4eaf6313780 100644 --- a/lib/Basic/TargetInfo.cpp +++ b/lib/Basic/TargetInfo.cpp @@ -34,6 +34,8 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) {    DoubleAlign = 64;    LongDoubleWidth = 64;    LongDoubleAlign = 64; +  LargeArrayMinWidth = 0; +  LargeArrayAlign = 0;    SizeType = UnsignedLong;    PtrDiffType = SignedLong;    IntMaxType = SignedLongLong; @@ -282,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++; @@ -375,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++;  | 
