[cfe-commits] r133226 - in /cfe/trunk: lib/CodeGen/CGStmt.cpp test/CodeGen/arm-asm-variable.c
Francois Pichet
pichet2000 at gmail.com
Thu Jun 16 21:08:54 PDT 2011
On Thu, Jun 16, 2011 at 9:53 PM, Eric Christopher <echristo at apple.com> wrote:
> Author: echristo
> Date: Thu Jun 16 20:53:34 2011
> New Revision: 133226
>
> URL: http://llvm.org/viewvc/llvm-project?rev=133226&view=rev
> Log:
> Check the specific target to figure out if a constraint is a valid
> register constraint. Note that we're not checking if the register itself
> is valid for the constraint.
>
> Fixes rdar://9382985
>
> Added:
> cfe/trunk/test/CodeGen/arm-asm-variable.c
> Modified:
> cfe/trunk/lib/CodeGen/CGStmt.cpp
>
Hi,
this fails under MSVC 2010
any idea?
logs:
1> FAIL: Clang :: CodeGen/arm-asm-variable.c (648 of 3366)
1> ******************** TEST 'Clang :: CodeGen/arm-asm-variable.c'
FAILED ********************
1> Script:
1> --
1> C:/dev/llvm/llvm_trunk2/bin/Release/clang.EXE -cc1 -triple
armv7-apple-darwin9 -emit-llvm -w -o -
C:\dev\llvm\llvm_trunk2\tools\clang\test\CodeGen\arm-asm-variable.c |
FileCheck C:\dev\llvm\llvm_trunk2\tools\clang\test\CodeGen\arm-asm-variable.c
1> --
1> Exit Code: 1
1> Command Output (stdout):
1> --
1> Command 0: "C:/dev/llvm/llvm_trunk2/bin/Release/clang.EXE" "-cc1"
"-triple" "armv7-apple-darwin9" "-emit-llvm" "-w" "-o" "-"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\CodeGen\arm-asm-variable.c"
1> Command 0 Result: 0
1> Command 0 Output:
1>
1>
1> Command 0 Stderr:
1>
1>
1> Command 1: "FileCheck"
"C:\dev\llvm\llvm_trunk2\tools\clang\test\CodeGen\arm-asm-variable.c"
1> Command 1 Result: 1
1> Command 1 Output:
1>
1>
1> Command 1 Stderr:
1> C:\dev\llvm\llvm_trunk2\tools\clang\test\CodeGen\arm-asm-variable.c:23:12:
error: expected string not found in input
1> // CHECK: %0 = call %0 asm sideeffect "ldrexd$0, $1, [$2]",
"={r1},={r2},r,~{memory}"(i64* %tmp)
1> ^
1> <stdin>:1:1: note: scanning from here
1> ; ModuleID =
'C:\dev\llvm\llvm_trunk2\tools\clang\test\CodeGen\arm-asm-variable.c'
1> ^
1> <stdin>:17:2: note: possible intended match here
1> %4 = call %0 asm sideeffect "ldrexd$0, $1, [$2]",
"={r1},={r2},r,~{memory}"(i64* %3) nounwind, !srcloc !0
1> ^
1>
1>
1> --
1>
1> ********************
More information about the cfe-commits
mailing list