Skip to content
Snippets Groups Projects
Commit 6576a0d1 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Add comment to describe cleverness.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179806 91177308-0d34-0410-b5e6-96231b3b80d8
parent 9ee6a66d
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment