[cfe-commits] r129652 - in /cfe/trunk: lib/CodeGen/CGCleanup.cpp lib/CodeGen/CGStmt.cpp lib/CodeGen/CodeGenFunction.h test/CodeGen/switch-dce.c
Francois Pichet
pichet2000 at gmail.com
Sun Apr 17 09:18:04 PDT 2011
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?
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> ^
More information about the cfe-commits
mailing list