Skip to content

Commit

Permalink
The register constraint could mean a 16- or 8-bit register.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167735 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Nov 12, 2012
1 parent 68fd608 commit f634bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Basic/Targets.cpp
Expand Up @@ -2603,7 +2603,7 @@ class X86_32TargetInfo : public X86TargetInfo {
case 'b':
case 'c':
case 'd':
return Size == 32;
return Size <= 32;
}

return true;
Expand Down

0 comments on commit f634bdf

Please sign in to comment.