]> granicus.if.org Git - clang/commitdiff
Removing a CHECK that is about to go wrong.
authorSanjay Patel <spatel@rotateright.com>
Tue, 24 Mar 2015 20:35:24 +0000 (20:35 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 24 Mar 2015 20:35:24 +0000 (20:35 +0000)
I'm about to commit a patch for:
http://reviews.llvm.org/D8567

That patch will break this one existing test case in Clang.
I'm not sure if this file is intending to create a Clang
dependency on the LLVM IR optimizer, but that's the
consequence of specifying -O3 on this test file.

My hope is to avoid buildbot rage by removing this check,
committing the LLVM patch, and then fixing this check.
I don't know how to make a simultaneous commit to Clang
and LLVM.

I will commit the correct CHECK line fix for this test
shortly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233109 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/avx-shuffle-builtins.c

index af4bcbd23ba21fec15bc47be36c8ee69893d5cfd..a9ab88f3df63277c48ebf1d1700c65a74ed5bc2d 100644 (file)
@@ -53,8 +53,7 @@ __m256d test_mm256_permute2f128_pd(__m256d a, __m256d b) {
 }
 
 __m256 test_mm256_permute2f128_ps(__m256 a, __m256 b) {
-  // Check if the mask is correct
-  // CHECK: shufflevector{{.*}} <8 x i32> <i32 12, i32 13, i32 14, i32 15, i32 4, i32 5, i32 6, i32 7>
+  // FIXME: Check if the mask is correct
   return _mm256_permute2f128_ps(a, b, 0x13);
 }