I've just moved the test to the backend. We have other tests to make
sure that things get into the subprogram list and I've put the
optimized code into the backend for the test.

... just realized I should comment that it was optimized in the test.

-eric

On Tue, May 20, 2014 at 4:41 PM, David Blaikie <[email protected]> wrote:
> On Tue, May 20, 2014 at 4:23 PM, Eric Christopher <[email protected]> wrote:
>> Author: echristo
>> Date: Tue May 20 18:23:51 2014
>> New Revision: 209255
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=209255&view=rev
>> Log:
>> Make this test emit llvm IR rather than assembly.
>>
>> Modified:
>>     cfe/trunk/test/CodeGen/debug-dead-local-var.c
>>
>> Modified: cfe/trunk/test/CodeGen/debug-dead-local-var.c
>> URL: 
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/debug-dead-local-var.c?rev=209255&r1=209254&r2=209255&view=diff
>> ==============================================================================
>> --- cfe/trunk/test/CodeGen/debug-dead-local-var.c (original)
>> +++ cfe/trunk/test/CodeGen/debug-dead-local-var.c Tue May 20 18:23:51 2014
>> @@ -1,5 +1,5 @@
>>  // FIXME: Check IR rather than asm, then triple is not needed.
>
> You can probably remove this comment now /\
>
>> -// RUN: %clang_cc1 -mllvm -asm-verbose -triple %itanium_abi_triple -S -O2 
>> -g %s -o - | FileCheck %s
>> +// RUN: %clang_cc1 -triple %itanium_abi_triple -O2 -g -emit-llvm %s -o - | 
>> FileCheck %s
>>  // Radar 8122864
>>
>>  // Code is not generated for function foo, but preserve type information of
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> [email protected]
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to