[test-suite] r312334 - Merging r312065:
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 1 09:32:40 PDT 2017
Author: hans
Date: Fri Sep 1 09:32:40 2017
New Revision: 312334
URL: http://llvm.org/viewvc/llvm-project?rev=312334&view=rev
Log:
Merging r312065:
------------------------------------------------------------------------
r312065 | asbirlea | 2017-08-29 16:14:04 -0700 (Tue, 29 Aug 2017) | 1 line
[test-suite] Run x86 simd bicode tests only if avx2 present
------------------------------------------------------------------------
Modified:
test-suite/branches/release_50/ (props changed)
test-suite/branches/release_50/Bitcode/simd_ops/simd_ops.cpp
Propchange: test-suite/branches/release_50/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Sep 1 09:32:40 2017
@@ -0,0 +1 @@
+/test-suite/trunk:312065
Modified: test-suite/branches/release_50/Bitcode/simd_ops/simd_ops.cpp
URL: http://llvm.org/viewvc/llvm-project/test-suite/branches/release_50/Bitcode/simd_ops/simd_ops.cpp?rev=312334&r1=312333&r2=312334&view=diff
==============================================================================
--- test-suite/branches/release_50/Bitcode/simd_ops/simd_ops.cpp (original)
+++ test-suite/branches/release_50/Bitcode/simd_ops/simd_ops.cpp Fri Sep 1 09:32:40 2017
@@ -59,7 +59,8 @@ int main(int argc, char **argv) {
return err_code;
#endif
#if defined(__i386__) || defined(__x86_64__)
- if (!__builtin_cpu_supports("avx")) {
+ if (!__builtin_cpu_supports("avx") ||
+ !__builtin_cpu_supports("avx2")) {
return err_code;
}
#endif
More information about the llvm-commits
mailing list