rust/src/test/codegen
2021-07-14 18:17:49 +02:00
..
auxiliary std: Attempt again to inline thread-local-init across crates 2021-05-18 11:22:04 -07:00
avr Assert that locals have storage when used 2020-10-31 21:06:29 +01:00
dllimports Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
intrinsics Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
non-terminate Remove the -Zinsert-sideeffect 2021-03-10 12:21:43 +02:00
remap_path_prefix bless mir-opt, codegen, and remaining ui tests 2021-07-14 18:17:49 +02:00
riscv-abi Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
simd-intrinsic Don't set fast(-math) for certain simd ops 2021-04-17 23:33:10 +03:00
src-hash-algorithm Add support for SHA256 source file hashing for LLVM 11+. 2020-10-14 15:09:51 -07:00
unwind-abis Replace per-target ABI denylist with an allowlist 2021-07-06 13:12:15 +03:00
abi-efiapi.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
abi-main-signature-16bit-c-int.rs
abi-main-signature-32bit-c-int.rs
abi-repr-ext.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
abi-sysv64.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
abi-x86_64_sysv.rs
abi-x86-interrupt.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
adjustments.rs
align-enum.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
align-fn.rs Allow specifying alignment for functions 2021-04-05 17:36:51 -04:00
align-struct.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
alloc-optimisation.rs Mark inline asm tests as requiring LLVM 10.0.1 2021-03-25 20:21:58 +00:00
arg-return-value-in-reg.rs make test work in llvm 9 2020-11-30 01:21:47 -05:00
array-equality.rs Adjust the threshold to look at the ABI, not just the size 2021-07-08 14:55:59 -07:00
asm-clobbers.rs Add clobber-only register classes for asm! 2021-07-10 17:29:00 +02:00
asm-multiple-options.rs Be stricter about rejecting LLVM reserved registers in asm! 2021-04-28 18:30:36 +01:00
asm-options.rs Add a "raw" option for asm! which ignores format string specifiers 2021-06-24 23:42:15 +01:00
asm-sanitize-llvm.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
asm-target-clobbers.rs Allow clobbering unsupported registers in asm! 2021-04-04 10:42:32 +01:00
async-fn-debug-msvc.rs Fix async-fn-debug-msvc and generator-debug-msvc codegen tests 2021-07-05 18:38:15 -04:00
async-fn-debug.rs Improve debug symbol names to avoid ambiguity and work better with MSVC's debugger 2021-06-30 11:10:29 -07:00
atomic-operations.rs Test codegen of compare_exchange operations 2020-07-17 00:00:00 +00:00
binary-search-index-no-bound-check.rs Add codegen test checking binary_search allows eliding bound checks 2021-03-06 11:29:57 +01:00
bool-cmp.rs
box-maybe-uninit.rs
bpf-alu32.rs BPF: remove unnecessary flags from src/test/codegen/bpf-alu32.rs 2021-05-30 11:50:43 +10:00
c-variadic-copy.rs
c-variadic-opt.rs
c-variadic.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
call-llvm-intrinsics.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
call-metadata.rs
catch-unwind.rs
cdylib-external-inline-fns.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
cfguard-checks.rs Stabilize control-flow-guard codegen option 2020-07-14 15:27:42 +01:00
cfguard-disabled.rs Stabilize control-flow-guard codegen option 2020-07-14 15:27:42 +01:00
cfguard-nochecks.rs Stabilize control-flow-guard codegen option 2020-07-14 15:27:42 +01:00
cfguard-non-msvc.rs Stabilize control-flow-guard codegen option 2020-07-14 15:27:42 +01:00
codemodels.rs Use only x86_64 flag 2021-03-14 01:46:00 +09:00
coercions.rs
consts.rs bless mir-opt, codegen, and remaining ui tests 2021-07-14 18:17:49 +02:00
dealloc-no-unwind.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
debug-column-msvc.rs
debug-column.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
debug-compile-unit-path.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
debug-linkage-name.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
default-requires-uwtable.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
drop.rs rustc_codegen_ssa: only create backend BasicBlocks as-needed. 2021-05-17 00:04:09 +03:00
enum-bounds-check-derived-idx.rs Add codegen tests 2020-08-31 08:19:15 +02:00
enum-bounds-check-issue-13926.rs Add codegen tests 2020-08-31 08:19:15 +02:00
enum-bounds-check-issue-82871.rs Emit the enum range assumption if the range only contains one element 2021-03-12 12:06:10 +08:00
enum-bounds-check.rs Add codegen tests 2020-08-31 08:19:15 +02:00
enum-debug-clike.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
enum-debug-niche-2.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
enum-debug-niche.rs
enum-debug-tagged.rs
enum-discriminant-value.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
export-no-mangle.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
external-no-mangle-fns.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
external-no-mangle-statics.rs Reachable statics have reachable initializers 2021-04-25 00:00:00 +00:00
fastcall-inreg.rs
fatptr.rs
fewer-names.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
ffi-const.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
ffi-out-of-bounds-loads.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
ffi-pure.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
ffi-returns-twice.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
float_math.rs
fn-impl-trait-self.rs Improve debug symbol names to avoid ambiguity and work better with MSVC's debugger 2021-06-30 11:10:29 -07:00
foo.s
force-frame-pointers.rs
force-no-unwind-tables.rs Allow using -C force-unwind-tables=no when panic=unwind 2021-04-11 22:32:40 +08:00
force-unwind-tables.rs fully exploited the dropped support of LLVM 8 2020-11-12 14:39:47 +01:00
frame-pointer.rs Add support for leaf fn frame pointer elimination 2021-06-30 19:45:17 +03:00
function-arguments.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
gdb_debug_script_load.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
generator-debug-msvc.rs Fix async-fn-debug-msvc and generator-debug-msvc codegen tests 2021-07-05 18:38:15 -04:00
generator-debug.rs Improve debug symbol names to avoid ambiguity and work better with MSVC's debugger 2021-06-30 11:10:29 -07:00
generic-debug.rs
global_asm_include.rs
global_asm_x2.rs
global_asm.rs
i686-macosx-deployment-target.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
i686-no-macosx-deployment-target.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
inline-always-works-always.rs
inline-debuginfo.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
inline-hint.rs Fix setting inline hint based on InstanceDef::requires_inline 2020-11-17 00:00:00 +00:00
instrument-mcount.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
integer-cmp.rs
integer-overflow.rs
internalize-closures.rs Ensure that closure call is not removed by MIR optimizations in a test 2020-11-12 00:00:00 +00:00
intrinsic-no-unnamed-attr.rs
issue-13018.rs
issue-15953.rs
issue-27130.rs Make sure the functions don't get merged 2020-08-28 01:16:20 +02:00
issue-32031.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
issue-32364.rs
issue-34634.rs Add test for issue #34634 2020-09-20 11:15:00 +02:00
issue-34947-pow-i32.rs
issue-37945.rs Fix codegen test for issue 37945 2020-11-12 00:00:00 +00:00
issue-44056-macos-tls-align.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
issue-45222.rs
issue-45466.rs
issue-45964-bounds-check-slice-pos.rs Add codegen test for #45964 2020-10-23 01:15:08 +02:00
issue-47278.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
issue-47442.rs
issue-56267-2.rs
issue-56267.rs
issue-56927.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
issue-58881.rs
issue-59352.rs Bump mir-opt-level from 2 to 3 in tests 2021-03-05 17:13:57 -03:00
issue-69101-bounds-check.rs Slightly improve panic messages when range indices are out of bounds 2020-07-20 00:40:42 +02:00
issue-73031.rs add codegen tests for some issues closed by LLVM 12 2021-03-07 17:56:09 -05:00
issue-73338-effecient-cmp.rs Optimize PartialOrd le 2021-04-04 20:37:48 +03:00
issue-73396-bounds-check-after-position.rs Test that bounds checks are elided for indexing after .[r]position() 2020-09-14 22:19:48 -04:00
issue-73827-bounds-check-index-in-subexpr.rs Add codegen test for issue #73827 2020-10-17 13:18:29 +02:00
issue-75525-bounds-checks.rs Add regression test for #75525 2021-03-05 16:01:46 +01:00
issue-75546.rs add codegen tests for some issues closed by LLVM 12 2021-03-07 17:56:09 -05:00
issue-75659.rs Only test on x86_64 2020-10-01 16:02:32 +02:00
issue-77812.rs add codegen tests for some issues closed by LLVM 12 2021-03-07 17:56:09 -05:00
issue-83623-SIMD-PartialEq.rs Simplify logical operations CFG 2021-04-01 18:34:11 +03:00
issue-84268.rs Don't set fast(-math) for certain simd ops 2021-04-17 23:33:10 +03:00
lifetime_start_end.rs simplify-locals: Remove unused assignments regardless of rvalue kind 2020-10-26 10:48:28 +01:00
link_section.rs
link-dead-code.rs
loads.rs simplify-locals: Remove unused assignments regardless of rvalue kind 2020-10-26 10:48:28 +01:00
local-generics-in-exe-internalized.rs
lto-removes-invokes.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
mainsubprogram.rs
mainsubprogramstart.rs
match-optimizes-away.rs
match.rs rustc_codegen_ssa: only create backend BasicBlocks as-needed. 2021-05-17 00:04:09 +03:00
mir_zst_stores.rs
naked-functions.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
naked-noinline.rs Bump mir-opt-level from 2 to 3 in tests 2021-03-05 17:13:57 -03:00
no-assumes-on-casts.rs
no-dllimport-w-cross-lang-lto.rs
no-output-asm-is-volatile.rs
no-plt.rs
noalias-unpin.rs Don't compute optimized PointerKind for unoptimized builds 2021-03-21 20:54:42 +01:00
noreturn-uninhabited.rs
noreturnflag.rs
nounwind.rs
nrvo.rs
optimize-attr-1.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
packed.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
panic-abort-windows.rs Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
panic-unwind-default-uwtable.rs Allow using -C force-unwind-tables=no when panic=unwind 2021-04-11 22:32:40 +08:00
personality_lifetimes.rs
pgo-instrumentation.rs
README.md
refs.rs simplify-locals: Remove unused assignments regardless of rvalue kind 2020-10-26 10:48:28 +01:00
repeat-trusted-len.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
repr-transparent-aggregates-1.rs Auto merge of #83592 - nagisa:nagisa/dso_local, r=davidtwco 2021-04-06 02:09:01 +00:00
repr-transparent-aggregates-2.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
repr-transparent-aggregates-3.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
repr-transparent-sysv64.rs
repr-transparent.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
sanitizer-memory-track-orgins.rs
sanitizer-no-sanitize-inlining.rs Bump mir-opt-level from 3 to 4 in tests 2021-03-05 17:13:57 -03:00
sanitizer-no-sanitize.rs Fix typo in code comment 2020-12-10 19:06:29 -05:00
sanitizer-recover.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
scalar-pair-bool.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
set-discriminant-invalid.rs
slice-as_chunks.rs Try ignore-debug in the codegen test 2021-01-16 14:52:48 -08:00
slice-init.rs
slice-iter-len-eq-zero.rs
slice-position-bounds-check.rs
slice-ref-equality.rs Stop generating allocas+memcmp for simple array equality 2021-07-08 14:55:54 -07:00
slice-windows-no-bounds-check.rs Add codegen test 2020-10-07 16:17:01 +03:00
some-global-nonnull.rs Emit == null instead of <= null 2020-08-08 10:45:15 +02:00
sparc-struct-abi.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
stack-probes.rs Remove tests introduced or cahnged by PR #77885, which is reverted in this PR. 2021-04-29 15:13:36 -04:00
staticlib-external-inline-fns.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
stores.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
swap-small-types.rs
target-cpu-on-functions.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
target-feature-overrides.rs Adjust -Ctarget-cpu=native handling in cg_llvm 2021-03-16 21:32:55 +02:00
thread-local.rs std: Attempt again to inline thread-local-init across crates 2021-05-18 11:22:04 -07:00
to_vec.rs Change slice::to_vec to not use extend_from_slice 2020-11-22 22:22:03 +00:00
transmute-scalar.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
try_identity.rs No matter how trivial the change, tidy always finds a way to complain... 2021-05-18 11:48:00 -07:00
try-panic-abort.rs
tune-cpu-on-functions.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
tuple-layout-opt.rs add tests related to tuple scalar layout with ZST in last field 2020-08-30 14:58:03 -04:00
unchecked-float-casts.rs Improve codegen for unchecked float casts on wasm 2020-07-22 15:05:05 -07:00
union-abi.rs Pass arguments up to 2*usize by value 2020-11-29 20:08:00 -05:00
unwind-extern-exports.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
unwind-extern-imports.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
var-names.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
vec-clear.rs we can enable one more codegen test in debug mode now 2020-06-16 16:01:30 -04:00
vec-in-place.rs disable debug assertions in codegen test 2021-03-21 23:05:36 +01:00
vec-iter-collect-len.rs
vec-optimizes-away.rs we can enable one more codegen test in debug mode now 2020-06-16 16:01:30 -04:00
vec-shrink-panic.rs shrink_to shouldn't panic on len greater than capacity 2021-01-26 19:25:37 +01:00
vecdeque_no_panic.rs Remove unreachable panics from VecDeque 2021-01-14 19:31:56 +01:00
vtabletype.rs
wasm_casts_trapping.rs Update wasm test assertions 2021-04-23 08:59:49 -07:00
x86_64-macosx-deployment-target.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
x86_64-no-macosx-deployment-target.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
zip.rs
zst-offset.rs handle vector layout 2020-08-30 14:58:03 -04:00

The files here use the LLVM FileCheck framework, documented at https://llvm.org/docs/CommandGuide/FileCheck.html.