r193908 - clang/test/CodeGenCXX/builtins.cpp: Fix for -Asserts.

jahanian fjahanian at apple.com
Fri Nov 1 20:10:53 PDT 2013


This test is failing on Windows buildbot.

Failing Tests (1):
      Clang :: CodeGenCXX/builtins.cpp
  
I am not sure if it has been fixed with any of the follow up patches or not.

- Fariborz

On Nov 1, 2013, at 7:58 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:

> Author: chapuni
> Date: Fri Nov  1 21:58:42 2013
> New Revision: 193908
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=193908&view=rev
> Log:
> clang/test/CodeGenCXX/builtins.cpp: Fix for -Asserts.
> 
>  - Don't seek "entry:" It dosen't appear with -Asserts.
>  - Take care that Codegen'ed Instruction(s) wouldn't have name(s) in -Asserts.
> 
> Modified:
>    cfe/trunk/test/CodeGenCXX/builtins.cpp
> 
> Modified: cfe/trunk/test/CodeGenCXX/builtins.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/builtins.cpp?rev=193908&r1=193907&r2=193908&view=diff
> ==============================================================================
> --- cfe/trunk/test/CodeGenCXX/builtins.cpp (original)
> +++ cfe/trunk/test/CodeGenCXX/builtins.cpp Fri Nov  1 21:58:42 2013
> @@ -21,9 +21,8 @@ long __builtin_abs(long);          // #2
> extern "C" int __builtin_abs(int); // #3
> 
> int x = __builtin_abs(-2);
> -// CHECK: entry:
> -// CHECK-NEXT:  store i32 2, i32* @x, align 4
> +// CHECK:  store i32 2, i32* @x, align 4
> 
> long y = __builtin_abs(-2l);
> -// CHECK: entry:
> -// CHECK-NEXT:  %call = call i64 @_Z13__builtin_absl(i64 -2)
> +// CHECK:  [[Y:%.+]] = call i64 @_Z13__builtin_absl(i64 -2)
> +// CHECK:  store i64 [[Y]], i64* @y, align 8
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131101/478d33cb/attachment.html>


More information about the cfe-commits mailing list