[cfe-commits] r108028 - /cfe/trunk/lib/Basic/TargetInfo.cpp
Chris Lattner
clattner at apple.com
Sat Jul 10 10:19:04 PDT 2010
Hi John,
I'm ok with this if Eli is, but please do add a testcase.
-Chris
On Jul 9, 2010, at 3:49 PM, John Thompson wrote:
> Author: jtsoftware
> Date: Fri Jul 9 17:49:34 2010
> New Revision: 108028
>
> URL: http://llvm.org/viewvc/llvm-project?rev=108028&view=rev
> Log:
> Hack for dealing with commas until we support multiple alternative constraints, per pr7338.
>
> Modified:
> cfe/trunk/lib/Basic/TargetInfo.cpp
>
> Modified: cfe/trunk/lib/Basic/TargetInfo.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/TargetInfo.cpp?rev=108028&r1=108027&r2=108028&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Basic/TargetInfo.cpp (original)
> +++ cfe/trunk/lib/Basic/TargetInfo.cpp Fri Jul 9 17:49:34 2010
> @@ -284,6 +284,8 @@
> Info.setAllowsRegister();
> Info.setAllowsMemory();
> break;
> + case ',': // FIXME: Until we handle multiple alternative constraints,
> + return true; // ignore everything after the first comma.
> }
>
> Name++;
> @@ -377,6 +379,8 @@
> Info.setAllowsRegister();
> Info.setAllowsMemory();
> break;
> + case ',': // FIXME: Until we handle multiple alternative constraints,
> + return true; // ignore everything after the first comma.
> }
>
> Name++;
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list