diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-18 22:49:48 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-18 22:49:48 +0000 |
commit | 6576a0d1e26f617d29d54ed99b16099d93a05264 (patch) | |
tree | baa00d7428e9d81210e5cc1b0baebb07fb0220b6 /lib/Basic/TargetInfo.cpp | |
parent | 9ee6a66d19aacc35397bbdc4fd535e3944301856 (diff) |
Add comment to describe cleverness.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179806 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/TargetInfo.cpp')
-rw-r--r-- | lib/Basic/TargetInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp index 699f7d4b3f..ff72f495c8 100644 --- a/lib/Basic/TargetInfo.cpp +++ b/lib/Basic/TargetInfo.cpp @@ -373,6 +373,8 @@ bool TargetInfo::validateOutputConstraint(ConstraintInfo &Info) const { Name++; } + // If a constraint allows neither memory nor register operands it contains + // only modifiers. Reject it. return Info.allowsMemory() || Info.allowsRegister(); } |