[llvm-commits] [llvm] r48730 - /llvm/trunk/test/CFrontend/2008-03-24-BitFiel-And-Alloca.c

Devang Patel dpatel at apple.com
Mon Mar 24 13:49:49 PDT 2008


On Mar 24, 2008, at 1:39 PM, Chris Lattner wrote:

>
> On Mar 24, 2008, at 10:16 AM, Devang Patel wrote:
>
>> Author: dpatel
>> Date: Mon Mar 24 12:16:39 2008
>> New Revision: 48730
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=48730&view=rev
>> Log:
>> Add new test.
>>
>> Added:
>>   llvm/trunk/test/CFrontend/2008-03-24-BitFiel-And-Alloca.c
>
> Hi Devang,
>
> Are you testing the front-end here or the optimizer?  If you're
> testing the front-end, don't pass -O2.  If you're testing the
> optimizer, write this as a .ll file, not a .c file.

I am testing FE and optimizer both here. One regression FE lowering  
caused optimizer to not eliminate unnecessary alloca instructions.

-
Devang



More information about the llvm-commits mailing list