Ulrich,
Fixed. Thanks for the report!

Best regards,
Alexey Bataev
=============
Software Engineer
Intel Compiler Team

03.07.2014 18:49, Ulrich Weigand пишет:
Alexey Bataev wrote:

+  // CHECK-3: test4([[INT:i.+]] [[SIZE:.+]], [[INT]]*
+  // CHECK-3: store [[INT]] [[SIZE]], [[INT]]* [[SIZE_ADDR:.+]],
+  // CHECK-3: [[REF:%.+]] = getelementptr inbounds
+  // CHECK-3: store [[INT]]* [[SIZE_ADDR]], [[INT]]** [[REF]]
+  // CHECK-3: call void @__captured_stmt
This fails on powerpc64-linux with the error:

/home/uweigand/llvm/llvm-head/tools/clang/test/CodeGen/captured-statements.c:70:14:
  error: expected string not found in input
  // CHECK-3: store [[INT]] [[SIZE]], [[INT]]* [[SIZE_ADDR:.+]],
              ^
/home/uweigand/llvm/build/llvm-head/tools/clang/test/CodeGen/Output/captured-statements.c.tmp:151:44:
  note: scanning from here
define void @test4(i32 signext %size, i32* %vla_arr) #0 {
                                            ^
/home/uweigand/llvm/build/llvm-head/tools/clang/test/CodeGen/Output/captured-statements.c.tmp:151:44:
  note: with variable "INT" equal to "i32"
define void @test4(i32 signext %size, i32* %vla_arr) #0 {
                                            ^
/home/uweigand/llvm/build/llvm-head/tools/clang/test/CodeGen/Output/captured-statements.c.tmp:151:44:
  note: with variable "SIZE" equal to "signext %size"
define void @test4(i32 signext %size, i32* %vla_arr) #0 {
                                            ^
/home/uweigand/llvm/build/llvm-head/tools/clang/test/CodeGen/Output/captured-statements.c.tmp:151:44:
  note: with variable "INT" equal to "i32"
define void @test4(i32 signext %size, i32* %vla_arr) #0 {
                                            ^
/home/uweigand/llvm/build/llvm-head/tools/clang/test/CodeGen/Output/captured-statements.c.tmp:163:2:
  note: possible intended match here
  store i32** %vla_arr.addr, i32*** %3, align 8


Maybe once again a problem with the "signext" attributes?


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
   Dr. Ulrich Weigand | Phone: +49-7031/16-3727
   STSM, GNU/Linux compilers and toolchain
   IBM Deutschland Research & Development GmbH
   Vorsitzende des Aufsichtsrats: Martina Koederitz | Geschäftsführung: Dirk
Wittkopp
   Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht
Stuttgart, HRB 243294



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to