[llvm-commits] PATCH: regarding PR1546

Chris Lattner clattner at apple.com
Wed Jul 11 09:18:52 PDT 2007


On Jul 11, 2007, at 5:36 AM, Gabor Greif wrote:

> I do not consider PR1546 closed just yet.
> What I mentioned in the PR was only two of
> ca. 140 Solaris failures.

Hrm, this is very strange.  Is this on solaris/sparc?  If so, the  
sparc target should autodetect that and override msil and C.  What  
target triple are you using?

-Chris

> Most of them complain that llc cannot choose between C and
> MSIL output formats.
>
> The below prototypical patch corrects this type of failure.
>
> Is this the right way of handling it?
>
> Why does llc only fail on Solaris and not on Darwin?
>
> After I understood this problem I am happy to commit these 100+ files.
>
> Cheers,
>
> 	Gabor
>
>
> Index: /home/ggreif/llvm/test/CodeGen/Generic/2005-07-12-memcpy-i64- 
> length.ll
> ===================================================================
> --- /home/ggreif/llvm/test/CodeGen/Generic/2005-07-12-memcpy-i64- 
> length.ll      (revision 38488)
> +++ /home/ggreif/llvm/test/CodeGen/Generic/2005-07-12-memcpy-i64- 
> length.ll      (working copy)
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | llc
> +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
>  ; Test that llvm.memcpy works with a i64 length operand on all  
> targets.
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list