[cfe-commits] r167735 - /cfe/trunk/lib/Basic/Targets.cpp

Eli Friedman eli.friedman at gmail.com
Mon Nov 12 12:57:59 PST 2012


On Mon, Nov 12, 2012 at 10:52 AM, Bill Wendling <isanbard at gmail.com> wrote:
> Author: void
> Date: Mon Nov 12 12:52:32 2012
> New Revision: 167735
>
> URL: http://llvm.org/viewvc/llvm-project?rev=167735&view=rev
> Log:
> The register constraint could mean a 16- or 8-bit register.
>
> Modified:
>     cfe/trunk/lib/Basic/Targets.cpp
>
> Modified: cfe/trunk/lib/Basic/Targets.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=167735&r1=167734&r2=167735&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Basic/Targets.cpp (original)
> +++ cfe/trunk/lib/Basic/Targets.cpp Mon Nov 12 12:52:32 2012
> @@ -2603,7 +2603,7 @@
>      case 'b':
>      case 'c':
>      case 'd':
> -      return Size == 32;
> +      return Size <= 32;
>      }
>
>      return true;

Testcase?

-Eli



More information about the cfe-commits mailing list