diff options
author | Anders Carlsson <andersca@mac.com> | 2008-03-10 22:37:16 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2008-03-10 22:37:16 +0000 |
commit | 456e79dc2c6207d118bfcef86097f74481cdff82 (patch) | |
tree | cdec1787c8a984e4af0c98b25449cfb9d3728762 /Basic | |
parent | 4f943c23a47d042c3275e78f2d6015daa650f105 (diff) |
Add support for the 'N' constraint.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48185 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Basic')
-rw-r--r-- | Basic/Targets.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Basic/Targets.cpp b/Basic/Targets.cpp index cede59858a..e8238daeae 100644 --- a/Basic/Targets.cpp +++ b/Basic/Targets.cpp @@ -486,7 +486,9 @@ namespace X86 { case 't': // top of floating point stack. case 'u': // second from top of floating point stack. case 'q': // a, b, c, d registers or any integer register in 64-bit. - case 'Z': // 32-bit integer constant for used with zero-extending x86_64 + case 'Z': // 32-bit integer constant for use with zero-extending x86_64 + // instructions. + case 'N': // unsigned 8-bit integer constant for use with in and out // instructions. info = (TargetInfo::ConstraintInfo)(info|TargetInfo::CI_AllowsRegister); return true; |