[LLVMdev] ccc.c

Gordon Keiser gkeiser at arxan.com
Thu Jul 26 17:37:28 PDT 2012


I see what you mean.   I'm thinking a bitcode test that somehow ended up in the wrong place.   My manager was puzzled for a minute as well, and pointed out that this test isn't referenced anywhere.   

Maybe this is a test to make sure that when you don't compile a test or run it, the expected output file stays the same?

Or maybe it tests that LLVM hasn't become self-aware and begun compiling every .c file on the hard drive?  :-)

-Gordon

> -----Original Message-----
> From: reed kotler [mailto:rkotler at mips.com]
> Sent: Wednesday, July 25, 2012 11:15 PM
> To: Gordon Keiser
> Cc: ll >> "llvmdev at cs.uiuc.edu"
> Subject: Re: [LLVMdev] ccc.c
> 
> But read the code and then  answer the question.
> 
> :)
> 
> On 07/25/2012 06:19 PM, Gordon Keiser wrote:
> >  From the comment at the top of the file:
> >
> > /*
> >   * This file is used to the C calling conventions with signless
> >   * LLVM. Integer arguments in this convention are promoted to at
> >   * least a 32-bit size. Consequently signed values must be
> >   * sign extended and unsigned values must be zero extended to
> >   * at least a 32-bit integer type.
> >   */
> >
> > :-)
> >
> > -Gordon
> >
> >> -----Original Message-----
> >> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-
> bounces at cs.uiuc.edu]
> >> On Behalf Of reed kotler
> >> Sent: Wednesday, July 25, 2012 8:43 PM
> >> To: ll>>  "llvmdev at cs.uiuc.edu"
> >> Subject: [LLVMdev] ccc.c
> >>
> >> Does anybody know the purpose of test:
> >>
> >> projects/test-suite/SingleSource/UnitTests/SignlessTypes/ccc.c
> >>
> >>
> >> _______________________________________________
> >> LLVM Developers mailing list
> >> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list