[cfe-commits] r129652 - in /cfe/trunk: lib/CodeGen/CGCleanup.cpp lib/CodeGen/CGStmt.cpp lib/CodeGen/CodeGenFunction.h test/CodeGen/switch-dce.c
Chris Lattner
sabre at nondot.org
Sun Apr 17 09:24:44 PDT 2011
On Apr 17, 2011, at 9:18 AM, Francois Pichet wrote:
> On Sat, Apr 16, 2011 at 8:54 PM, Chris Lattner <sabre at nondot.org> wrote:
>> Author: lattner
>> Date: Sat Apr 16 19:54:30 2011
>> New Revision: 129652
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=129652&view=rev
>> Log:
>> implement rdar://9289524 - case followed immediately by break results in empty IR block,
>> a -O0 code quality issue.
>>
>> Modified:
>> cfe/trunk/lib/CodeGen/CGCleanup.cpp
>> cfe/trunk/lib/CodeGen/CGStmt.cpp
>> cfe/trunk/lib/CodeGen/CodeGenFunction.h
>> cfe/trunk/test/CodeGen/switch-dce.c
>>
>
>
> This fail on Windows:
> any idea?
Does r129660 fix this?
-Chris
>
> 2> Command 1 Stderr:
> 2> C:\dev\llvm\llvm_trunk\tools\clang\test\CodeGen\switch-dce.c:223:11:
> error: expected string not found in input
> 2> // CHECK: i32 42, label %sw.epilog
> 2> ^
> 2> <stdin>:97:9: note: scanning from here
> 2> switch i32 %2, label %3 [
> 2> ^
> 2> <stdin>:98:2: note: possible intended match here
> 2> i32 42, label %4
> 2> ^
>
> _______________________________________________
> 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