aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r--lib/Basic/Targets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp
index 016f88e498..78a43d9f54 100644
--- a/lib/Basic/Targets.cpp
+++ b/lib/Basic/Targets.cpp
@@ -437,6 +437,7 @@ X86TargetInfo::validateAsmConstraint(char c,
case 't': // top of floating point stack.
case 'u': // second from top of floating point stack.
case 'q': // Any register accessible as [r]l: a, b, c, and d.
+ case 'y': // Any MMX register.
case 'Q': // Any register accessible as [r]h: a, b, c, and d.
case 'Z': // 32-bit integer constant for use with zero-extending x86_64
// instructions.