aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-22[SPECCPU2017] Check for 'all' input data directory before generating commandHEADmasterDominic Chen
Summary: As of SPEC CPU2017 1.0.5, 526.blender_r/data does not contain an 'all' subdirectory, which breaks the build. Reviewers: Meinersbur, MatzeB Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68967 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@375480 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-10[test-suite] Guard DG_CFLAGS filteringSam Elliott
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@374295 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-09[test-suite] Add Architecture Detection for RISC-VSam Elliott
Summary: The LLVM test suite has its own way of detecting the system architecture. This adds support in that file for detecting RISC-V. This will eventually cause the ARCH variable to be populated. We use ARCH="riscv64" to identify 64-bit RISC-V, and ARCH="riscv32" to identify 32-bit RISC-V, so that attempting to detect "riscv" in the ARCH variable will match any version of RISC-V. Reviewers: asb, luismarques Reviewed By: luismarques Subscribers: mgorny, simoncook, kito-cheng, shiva0217, rogfer01, rkruppe, PkmX, s.egerton, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68698 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@374176 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-09Add GCC Torture Suite SourcesSam Elliott
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@374156 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-09[test-suite] Add GCC C Torture SuiteSam Elliott
Summary: This patch adds support for testing clang/LLVM against the GCC Torture suite. This patch adds the CMake configuration and licence information for these tests. A follow-up patch will add the testcases themselves (which are too large to review, and included without modifications). They will be committed together. Reviewers: hfinkel, kristof.beyls, asb Reviewed By: kristof.beyls Subscribers: khcheang, mehdi_amini, jvesely, krytarowski, fedor.sergeev, zzheng, steven_wu, dexonsmith, arphaman, jfb, mstorsjo, lewis-revill, simoncook, s.egerton, riccibruno, asb, mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66887 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@374155 91177308-0d34-0410-b5e6-96231b3b80d8
2019-10-02MultiSource/Applications/d: applying zero offset to null pointer is UB in CRoman Lebedev
Caught by https://reviews.llvm.org/D67122 Address of the zero-th element of an array is identical to the address of the array base pointer (&a[0] == a), so let's just not apply zero offset. llvm-test-suite/MultiSource/Applications/d/parse.c:1588:20: runtime error: applying zero offset to null pointer #0 0x251be9 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x251be9) #1 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #2 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #3 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #4 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #5 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #6 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #7 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #8 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #9 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #10 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #11 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #12 0x2515b4 in commit_tree (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2515b4) #13 0x253e87 in commit_stack (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x253e87) #14 0x253e44 in commit_stack (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x253e44) #15 0x250ef1 in exhaustive_parse (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x250ef1) #16 0x24facd in dparse (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x24facd) #17 0x2441b0 in parse_grammar (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x2441b0) #18 0x23a270 in main (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x23a270) #19 0x7fac77faebba in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x26bba) #20 0x21aeb9 in _start (/builddirs/build-test-suite-old/MultiSource/Applications/d/make_dparser+0x21aeb9) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /repositories/llvm-test-suite/MultiSource/Applications/d/parse.c:1588:20 in git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@373486 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-18Support for codesigning executables on DarwinChris Matthews
Mirror LLVM's cmake llvm_codesign function into the test-suite and apply to all executables. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@372241 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-06MallocBench: gs: zarray: zastore(): correctly subtract unsigned offsetRoman Lebedev
By adding negated unsigned offset, while with wrapping semantics you indeed get a smaller pointer, this `op[]` operation is in-bounds by the standards, and is lowered into `getelementpointer inbounds`, and it is not wrapping. So the fact that we get the correct answer does not matter, we got it illegally. Fix it to actually perform the subtraction, via using negative signed offset /repositories/llvm-test-suite/MultiSource/Benchmarks/MallocBench/gs/zarray.c:75:2: runtime error: addition of unsigned offset to 0x000000b0faa0 overflowed to 0x000000b0fa70 #0 0x24ab6b in zastore (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MallocBench/gs/gs+0x24ab6b) #1 0x245593 in interp (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MallocBench/gs/gs+0x245593) #2 0x244b27 in interpret (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MallocBench/gs/gs+0x244b27) #3 0x241a80 in run_file (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MallocBench/gs/gs+0x241a80) #4 0x241a07 in init2 (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MallocBench/gs/gs+0x241a07) #5 0x2416f1 in argproc (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MallocBench/gs/gs+0x2416f1) #6 0x241d1c in gs_main (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MallocBench/gs/gs+0x241d1c) #7 0x2412cd in main (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MallocBench/gs/gs+0x2412cd) #8 0x7f76cde3409a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a) #9 0x222029 in _start (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MallocBench/gs/gs+0x222029) Seems to be a preexisting issue, but found while evaluating D67122. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@371220 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-06[MiBench] consumer-typeset: z31: GetMemory(): don't apply offset to nullptr, ↵Roman Lebedev
it's UB Caught by D67122 /repositories/llvm-test-suite/MultiSource/Benchmarks/MiBench/consumer-typeset/z31.c:352:8: runtime error: applying non-zero offset 96 to null pointer #0 0x2e682c in GetMemory (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MiBench/consumer-typeset/consumer-typeset+0x2e682c) #1 0x258c4b in InitFiles (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MiBench/consumer-typeset/consumer-typeset+0x258c4b) #2 0x24d34e in main (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MiBench/consumer-typeset/consumer-typeset+0x24d34e) #3 0x7fe3fb2ac09a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a) #4 0x22e029 in _start (/builddirs/build-test-suite-new/MultiSource/Benchmarks/MiBench/consumer-typeset/consumer-typeset+0x22e029) After that if() the code expects to have enough memory, so the branch should be unconditionally taken if next_free == nullptr, git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@371219 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-26[MemFunctions] Add c++11 flag.Clement Courbet
We're using constexpr in the code, so this breaks in older systems. MicroBenchmarks/MemFunctions/main.cpp:34:10: error: unknown type name 'constexpr' static constexpr size_t kMaxBufSizeBytes = 4096; See https://reviews.llvm.org/D64082 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@369888 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-22[MemFunctions] Add microbenchmarks for memory functions.Clement Courbet
Summary: Memory functions (memcmp, memcpy, ...) are typically recognized by the compiler and expanded to specific asm patterns when the size is known at compile time. This will help catch any regressions in expansions. Right now we're only testing memcmp (see context in D60318). Subscribers: mgorny, llvm-commits, gchatelet, spatel Tags: #llvm Differential Revision: https://reviews.llvm.org/D64082 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@369707 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-25Add geomean column earlier to dataout as Series in compare.py.Florian Hahn
This fixes the following error when using --all. Traceback (most recent call last): File "test-suite/utils/compare.py", line 374, in <module> print_result(data, limit_output, shorten_names, config.show_diff, sortkey) File "test-suite/utils/compare.py", line 227, in print_result dataout = add_geomean_row(d, dataout) File "test-suite/utils/compare.py", line 139, in add_geomean_row relative = values1 / values0 File "pyvenv/lib/python2.7/site-packages/pandas/core/ops.py", line 1583, in wrapper result = safe_na_op(lvalues, rvalues) File "pyvenv/lib/python2.7/site-packages/pandas/core/ops.py", line 1533, in safe_na_op lambda x: op(x, rvalues)) File "pandas/_libs/algos.pyx", line 690, in pandas._libs.algos.arrmap File "pyvenv/lib/python2.7/site-packages/pandas/core/ops.py", line 1533, in <lambda> lambda x: op(x, rvalues)) TypeError: ufunc 'true_divide' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' Reviewed By: paquette Differential Revision: https://reviews.llvm.org/D64066 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@367002 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-25Skip test earlier if metric is not found in compare.pyFlorian Hahn
This speeds up processing for inputs with lots of missing metrics, by avoiding adding them to names. Reviewed By: paquette Differential Revision: https://reviews.llvm.org/D64065 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@366999 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-17Fix more -Werror issues with obsequi.Amara Emerson
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@366290 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-17Obsequi: fix implicit declaration of a function, breaks -Werror builds.Amara Emerson
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@366287 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-16Enable the obsequi application for Darwin. It seems to run with no issues.Amara Emerson
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@366277 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-11Fix support for user mode emulation when using cmake/lit.Kristof Beyls
When using user mode emulation, i.e. cross-compiling programs for a different target and running them on a host under qemu user mode emulation, timeit and fpcmp should have host versions, not target versions. Running under user mode emulation had been broken for a while, presumably since https://reviews.llvm.org/rT341257 I first tried an alternative approach where fpcmp would be run under qemu user mode emulation too. That in itself worked, but if going for that approach, for orthogonality reasons, we probably should also run the other helper programs as if they were running on the target, i.e. also under qemu user mode emulation. I ran into issues with running timeit under qemu user mode emulation and also running RunSafely.sh under user mode emulation doesn't seem trivial. In the end, it seemed better to me to explicitly add a cmake option to mark that we're running under qemu user mode emulation, and in that mode, only aim to run the test/benchmark under qemu user mode emulation, rather than also all the helper programs (such as fpcmp, timeit, RunSafely.sh) under it (which is what would be needed if we just kept on using only the RUN_UNDER option for qemu user mode emulation. Differential Revision: https://reviews.llvm.org/D61597 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@365783 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-10[test-suite] Fix RISC-V Support in benchmark 1.3.0Sam Elliott
Summary: Fixed by backporting the upstream fix from here: https://github.com/google/benchmark/pull/833 Reviewers: lebedev.ri Reviewed By: lebedev.ri Subscribers: asb, kito-cheng, shiva0217, rogfer01, rkruppe, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64237 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@365610 91177308-0d34-0410-b5e6-96231b3b80d8
2019-06-26Revert "[test-suite] Signal error if llvm-lit was not found"Roman Lebedev
As disscussed in post-commit review, the LIT is not specified in the zorg/buildbot/builders/ClangBuilder.py, so this broke all test-suite bots. That is a bot problem, i'm pulling the commit until is is resolved. This reverts commit r364388. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@364448 91177308-0d34-0410-b5e6-96231b3b80d8
2019-06-26[test-suite] Signal error if llvm-lit was not foundRoman Lebedev
Summary: I'm not sure if that was intentional or not? I found it quite surprising when trying to integrate a new external project. Reviewers: MatzeB, homerdin, hfinkel Reviewed By: hfinkel Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60091 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@364388 91177308-0d34-0410-b5e6-96231b3b80d8
2019-06-05Made lambda test more robust.Sunil Srivastava
The test used a lambda that could be optimized out as a constexpr lambda in the C++17 mode, leading to a test faiure due to a missing symbol. This patch avoids that. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@362564 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-11Document how to use the 'vs' mode in compare.pyAmara Emerson
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@358206 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-10[test-suite] litsupport/modules/perf.py: store profile filename in ↵Roman Lebedev
context.profilefile Summary: This 1. Removes duplication 2. Provides that filename to be potentially used by other modules (see D60337) Reviewers: MatzeB, hfinkel, homerdin, fhahn Reviewed By: fhahn Subscribers: fhahn, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60336 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@358085 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-10[test-suite] There is no such thing as CMAKE_C_CFLAGS, it's CMAKE_C_FLAGSRoman Lebedev
Summary: Noticed by accident. Reviewers: homerdin, MatzeB, hfinkel, fhahn Reviewed By: fhahn Subscribers: fhahn, mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60215 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@358084 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-09Fix siod's gc implementation when used with GLIBC.James Y Knight
Patch from LuoYuanke -- In the siod gc, it depends on setjmp(...) to get the value of callee saved register value, and traverse those register to get the possible local object pointer. Also it traverse current stack to get the possible local object pointer. For setjmp(...) on glibc X86-64, the rbp register (callee saved register) is NOT saved in the setjmp buffer, so object that pointed by rbp is NOT considered as local object variable and its memory is collected as garbage. This patch is to use getcontext(...) to get more register value of current context and traverse those register to protect object from garbage collection. This bug is not easy to expose, because usually rbp has been saved in stack when do garbage collection, so the object pointer can be scanned from stack. However when compiler do some optimization on register allocation or licm, the rbp live in gc_mark_and_sweep(...) and rbp is pointing to an object. In such situation, siod failed to run test.scm because object is collected as garbage unexpectedly. Differential Revision: D60039 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@357986 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-04[test-suite] Update test-suite microbenchmarks to use JSON (fix bug 41327)Brian Homerding
Google benchmark is hoping to drop the CSV output format. This updates the microbenchmark module to use the JSON output. This fixes PR41327 Reviewers: lebedev.ri https://reviews.llvm.org/D60205 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@357704 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-03[test-suite,CUDA] Add #include <stdio.h> to test_round.cu to fix a build error.Bixia Zheng
Subscribers: jlebar, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60168 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@357622 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-01[test-suite,CUDA] Add a test case to test the edge cases for the ↵Bixia Zheng
implementation of llvm.round intrinsic in the PTX backend. Reviewers: tra Subscribers: sanjoy, mgorny, jlebar, jdoerfert, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59950 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@357430 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-24[test-suite][mips] Fix compile options for tramp3d-v4 testSimon Atanasyan
The -mxgot flag was negatively effecting certain micromips builds. This patch narrows its use to to only mips64 targets. Patch by Miloš Stojanović. Differential Revision: http://reviews.llvm.org/D59612 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@356863 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-20Add geomean summary row to output from utils/compare.py.Florian Hahn
This change adds a summary row with the geometric mean of the selected metric to the output of utils/compare.py. The 'rhs' values are normalized to the 'lhs' values and the geometric mean of the results is computed. This should be similar to the geomean row in the LNT HTML UI and allow to compare 2 sets of runs. Reviewers: anemet, MatzeB, cmatthews, serge-sans-paille Reviewed By: anemet Differential Revision: https://reviews.llvm.org/D57828 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@356545 91177308-0d34-0410-b5e6-96231b3b80d8
2019-02-26[CMake] Support alternative C++ ABI libraryPetr Hosek
Do not assume that every platform has libsupc++. Differential Revision: https://reviews.llvm.org/D58598 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@354835 91177308-0d34-0410-b5e6-96231b3b80d8
2019-02-09[test-suite] Add cmake option to use IR PGO (TEST_SUITE_USE_IR_PGO)Vedant Kumar
This allows building programs in the test suite with LLVM's IR PGO feature. Support for re-building programs with the collected profdata is already present. Differential Revision: https://reviews.llvm.org/D57985 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@353591 91177308-0d34-0410-b5e6-96231b3b80d8
2019-02-05Python Compat: print statementsSerge Guelton
Differential Revision: https://reviews.llvm.org/D57744 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@353169 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-28[test-suite] Fix stdthreadbug when building staticAleksandar Beserminji
This patch adds necessary flags for the test stdthreadbug.cpp, so it can be executed without error, when tests are compiled with -static flag. Differential Revision: https://reviews.llvm.org/D52878 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@352385 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-28[test-suite] Adding CoMD Proxy AppBrian Homerding
CoMD is a reference implementation of typical classical molecular dynamics algorithms and workloads. This is a serial build for the test-suite with eam potential. Link: https://github.com/exmatex/CoMD Reviewers: Meinersbur Differential Revision: https://reviews.llvm.org/D55726 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@352375 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-20Update remaining file headers of LLVM-project code to the new license.Chandler Carruth
For details, see r351675 which intalled the new license for the test suite, and r351676 which handled headers in the ABI test suite. This also involved cleaning up some weirdly mis-formatted headers in the glib compat stubs. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@351677 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-20Update the file headers used throughout the ABI testsuite to reflect theChandler Carruth
new license. Separating these updates from the rest of the testsuite due to the size of files and impact this has on the system. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@351676 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-20Update LICENSE file for the test-suite to the new license.Chandler Carruth
See r351631 to LLVM which installed the new license and developer policy for subsequent contributions. The test suite project is especially strange due to the fact that there are so many large portions of it that are external projects cloned under their own license into this repository for the purpose of testing. As a consequence, I preserved some of the information in the index of such directories, although I fear it is seriously out of date. Note that I've left odd formatting and other idiosyncracies of the legacy license structure text alone to make the diff easier to read. Critically, note that we do not in any case *remove* the old license notice or terms, as that remains necessary until we finish the relicensing process. In subsequent commits I'll update the file headers of code that is unambiguously part of the LLVM project rather than cloned from somewhere else. These will be separate commits due to the size of some of the code in the test suite. Also, there are confusing cases that will either be handled later once the authors can be consulted, or simply need to remain as-is. For example, we appear to use an old version of some LLVM code as a textual input to a benchmark, and changing it would change the benchmark itself. This also appears to provide no value as the old version will forever be available under the old license anyways. Also, we understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@351675 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-19Consistently use unix line endings on all the source code in the testChandler Carruth
suite. Only a specific subset were using Windows encodings, and the inconsistency makes updating text like the license needlessly difficult. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@351656 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-10test-suite: add avx512 tests with move-load-store intrinsicsIlia Taraban
Summary: Here is the next bunch of avx512 tests. In each test we do some load, store or move operations and also check result. Reviewers: MatzeB, craig.topper, zvi, RKSimon Reviewed By: RKSimon Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D51599 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@350816 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-04Make Python scripts portable across Python 2/3Serge Guelton
Mostly: - harmonize print function - harmonize item iteration - explicitly force list creation when needed Differential Revision: https://reviews.llvm.org/D55829 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@350382 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-04Modernize Python scriptsSerge Guelton
Use type destructuring instead of explicit indexing. This is preparatory work for python2/3 compatibility. Differential Revision: https://reviews.llvm.org/D55989 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@350381 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-26[test-suite][mips] Disable setlocale calls in consumer-typeset testSimon Atanasyan
When running the test-suite through qemu an error can occur when the host and target architecture differ in endianness. This happens when the test calls setlocale. The glibc implementation of this call reads /usr/lib/locale/locale-archive as raw bites. Since the endianness doesn't match, the numbers read from the archive don't make sense and cause the check to fail. This patch disables the setlocale call so the test passes regardless of endianness. Patch by Miloš Stojanović Differential Revision: http://reviews.llvm.org/D55708 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@350066 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-21[test-suite] Revert rL349493 (Adding CoMD Proxy App)Brian Homerding
Test failing. Reverting till fixed. Differential Revision: https://reviews.llvm.org/D55726 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@349925 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-21[test-suite] Adding CoMD Proxy AppBrian Homerding
Re-commiting CoMD test after fixing the Makefile build. CoMD is a reference implementation of typical classical molecular dynamics algorithms and workloads. This is a serial build for the test-suite with eam potential. Link: https://github.com/exmatex/CoMD Reviewers: Meinersbur Differential Revision: https://reviews.llvm.org/D55726 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@349922 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-18[test-suite] Revert rL349493 (Adding CoMD Proxy App)Brian Homerding
Test failing. Reverting till fixed. Differential Revision: https://reviews.llvm.org/D55726 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@349507 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-18[test-suite] Adding CoMD Proxy AppBrian Homerding
Adding floating point tolerance. CoMD is a reference implementation of typical classical molecular dynamics algorithms and workloads. This is a serial build for the test-suite with eam potential. Link: https://github.com/exmatex/CoMD Reviewers: Meinersbur Differential Revision: https://reviews.llvm.org/D55726 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@349505 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-18[test-suite] Adding CoMD Proxy AppBrian Homerding
CoMD is a reference implementation of typical classical molecular dynamics algorithms and workloads. This is a serial build for the test-suite with eam potential. Link: https://github.com/exmatex/CoMD Reviewers: Meinersbur Differential Revision: https://reviews.llvm.org/D55726 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@349493 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-17test-suite: add avx512 tests with miscellaneous intrinsicsIlia Taraban
Summary: Here is another bunch of avx512 tests. In each test we do miscellaneous operations(shuffles, compress, shifts and etc) and also check result. Reviewers: craig.topper, RKSimon, MatzeB, zvi Reviewed By: RKSimon Subscribers: mgorny, eraman, llvm-commits Differential Revision: https://reviews.llvm.org/D51621 git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@349334 91177308-0d34-0410-b5e6-96231b3b80d8
2018-12-15[test-suite] Fix NetBSD buildKamil Rytarowski
No functional change intended for other OSes. git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@349273 91177308-0d34-0410-b5e6-96231b3b80d8