llvm-project/compiler-rt/test
Luís Marques 58f6b16c49 [compiler-rt][builtins][RISCV] Always include __mul[sd]i3 builtin definitions
The RISC-V implementations of the `__mulsi3`, `__muldi3` builtins were
conditionally compiling the actual function definitions depending on whether
the M extension was present or not. This caused Compiler-RT testing failures
for RISC-V targets with the M extension, as when these sources were included
the `librt_has_mul*i3` features were still being defined. These `librt_has_*`
definitions are used to conditionally run the respective tests. Since the
actual functions were not being compiled-in, the generic test for `__muldi3`
would fail. This patch makes these implementations follow the normal
Compiler-RT convention of always including the definition, and conditionally
running the respective tests by using the lit conditional
`REQUIRES: librt_has_*`.

Since the `mulsi3_test.c` wasn't actually RISC-V-specific, this patch also
moves it out of the `riscv` directory. It now only depends on
`librt_has_mulsi3` to run.

Differential Revision: https://reviews.llvm.org/D86457
2020-10-21 09:49:03 +01:00
..
BlocksRuntime Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
asan ASAN: Support detect_invalid_pointer_pairs=1 with detect_stack_use_after_return=1 2020-10-20 19:28:12 +02:00
builtins [compiler-rt][builtins][RISCV] Always include __mul[sd]i3 builtin definitions 2020-10-21 09:49:03 +01:00
cfi [cfi][test] cross-dso/stats.cpp: don't assume the order of static constructors 2020-01-08 15:50:51 -08:00
crt [compiler-rt] Better Windows support for running tests in external shell 2020-07-09 19:40:22 +03:00
dfsan Set Huge Page mode on shadow regions based on no_huge_pages_for_shadow 2020-10-20 16:50:59 +00:00
fuzzer [NFC][fuzzer] Simplify StrcmpTest.cpp 2020-09-18 00:36:48 -07:00
gwp_asan [GWP-ASan] Split the unwinder into segv/non-segv. 2020-07-21 08:25:37 -07:00
hwasan [hwasan] Increase max allocation size to 1Tb. 2020-10-20 14:01:48 -07:00
interception [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
lsan [LSAN][NFC] Reformat test 2020-10-20 14:16:27 -07:00
memprof [MemProf] Memory profiling runtime support 2020-10-16 09:47:02 -07:00
msan [msan][asan] Add runtime flag intercept_strcmp 2020-09-18 13:45:55 -07:00
profile [profile] Add %t LLVM_PROFILE_FILE option to substitute $TMPDIR 2020-09-25 09:39:40 -07:00
safestack compiler-rt: Remove .cc from all lit config files 2019-08-05 19:25:35 +00:00
sanitizer_common [sanitizer] Escape quotes in tests to fix android bot after D88361 2020-10-13 18:09:38 -07:00
scudo [compiler-rt][scudo][LIT] Use target_suffix instead of target-arch 2020-05-20 03:34:50 +00:00
shadowcallstack compiler-rt: Remove .cc from all lit config files 2019-08-05 19:25:35 +00:00
tsan [TSan][Darwin] Handle NULL argument in interceptor 2020-08-24 11:36:02 -07:00
ubsan [X86] Fix stack alignment on 32-bit Solaris/x86 2020-09-17 11:17:11 +02:00
ubsan_minimal [UBSan][clang][compiler-rt] Applying non-zero offset to nullptr is undefined behaviour 2019-10-10 09:25:02 +00:00
xray [xray] Option to omit the function index 2020-06-17 13:49:01 -04:00
.clang-format [compiler-rt] Use "ColumnLimit: 0" instead of "clang-format off" in tests 2018-12-01 01:24:29 +00:00
.clang-tidy [NFC][compiler-rt] Refine .clang-tidy checks 2020-09-05 15:42:15 -07:00
CMakeLists.txt [MemProf] Memory profiling runtime support 2020-10-16 09:47:02 -07:00
lit.common.cfg.py [MemProf] Memory profiling runtime support 2020-10-16 09:47:02 -07:00
lit.common.configured.in [MemProf] Memory profiling runtime support 2020-10-16 09:47:02 -07:00