rust/src/test/codegen
bors 43a71dc732 Auto merge of #96002 - nnethercote:speed-up-Vec-clear-2, r=m-ou-se
Speed up Vec::clear().

Currently it just calls `truncate(0)`. `truncate()` is (a) not marked as
`#[inline]`, and (b) more general than needed for `clear()`.

This commit changes `clear()` to do the work itself. This modest change
was first proposed in rust-lang#74172, where the reviewer rejected it because
there was insufficient evidence that `Vec::clear()`'s performance
mattered enough to justify the change. Recent changes within rustc have
made `Vec::clear()` hot within `macro_parser.rs`, so the change is now
clearly worthwhile.

Although it doesn't show wins on CI perf runs, this seems to be because they
use PGO. But not all platforms currently use PGO. Also, local builds don't use
PGO, and `truncate` sometimes shows up in an over-represented fashion in local
profiles. So local profiling will be made easier by this change.

Note that this will also benefit `String::clear()`, because it just
calls `Vec::clear()`.

Finally, the commit removes the `vec-clear.rs` codegen test. It was
added in #52908. From before then until now, `Vec::clear()` just called
`Vec::truncate()` with a zero length. The body of Vec::truncate() has
changed a lot since then. Now that `Vec::clear()` is doing actual work
itself, and not just calling `Vec::truncate()`, it's not surprising that
its generated code includes a load and an icmp. I think it's reasonable
to remove this test.

r? `@m-ou-se`
2022-04-17 03:08:45 +00:00
..
auxiliary std: Stabilize the thread_local_const_init feature 2021-11-29 07:23:46 -08: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 fix codegen test 2021-10-14 07:35:35 +00:00
non-terminate Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07:00
remap_path_prefix bless mir-opt, codegen, and remaining ui tests 2021-07-14 18:17:49 +02:00
riscv-abi short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
simd-intrinsic Don't set fast(-math) for certain simd ops 2021-04-17 23:33:10 +03:00
src-hash-algorithm Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07:00
unwind-abis Add more *-unwind ABI variants 2022-02-02 22:21:24 +01: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 test: codegen: skip tests inappropriate for riscv64 2020-06-04 12:02:03 +01:00
abi-main-signature-32bit-c-int.rs Update codegen tests with unnamed arguments 2020-01-07 21:28:22 +01:00
abi-repr-ext.rs Apply noundef attribute to all scalar types which do not permit raw init 2022-02-26 16:42:33 -05:00
abi-sysv64.rs short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
abi-x86-interrupt.rs short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
abi-x86_64_sysv.rs Remove licenses 2018-12-25 21:08:33 -07:00
adjustments.rs codegen: use "_N" (like for other locals) instead of "argN", for argument names. 2019-09-13 19:25:05 +03:00
align-enum.rs Remove 0-sized paddings from field loyout tests. 2021-08-04 23:36:13 +02:00
align-fn.rs Allow specifying alignment for functions 2021-04-05 17:36:51 -04:00
align-struct.rs Remove 0-sized paddings from field loyout tests. 2021-08-04 23:36:13 +02:00
alloc-optimisation.rs Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07:00
array-clone.rs Specialize array cloning for Copy types 2021-11-09 21:43:20 -08:00
array-equality.rs Redo the array-equality codegen tests for the different threshold 2022-03-03 18:30:34 +00:00
asm-clobber_abi.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
asm-clobbers.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
asm-may_unwind.rs Update asm-may_unwind test to handle use of asm with outputs. 2022-04-09 15:16:38 -07:00
asm-multiple-options.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
asm-options.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
asm-powerpc-clobbers.rs Add features gates for experimental asm features 2021-11-07 01:23:53 +00:00
asm-sanitize-llvm.rs Fix lint capitalization and ignoring, test with include_str 2021-08-04 13:38:17 -04:00
asm-target-clobbers.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
async-fn-debug-awaitee-field.rs async: Give predictable, reserved name to binding generated from .await expressions. 2022-03-30 11:12:45 +02:00
async-fn-debug-msvc.rs debuginfo: change cpp-like naming for generator environments so that NatVis works for them 2022-03-14 16:52:47 +01:00
async-fn-debug.rs debuginfo: Refactor debuginfo generation for types 2022-03-14 16:49:06 +01:00
atomic-operations.rs Test codegen of compare_exchange operations 2020-07-17 00:00:00 +00:00
autovectorize-f32x4.rs Add a missing #[no_mangle] 2022-03-03 19:52:45 +00:00
binary-search-index-no-bound-check.rs Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07:00
bool-cmp.rs Update bool-cmp.rs codegen 2020-01-07 21:28:22 +01:00
box-maybe-uninit.rs stabilize core parts of MaybeUninit and deprecate mem::uninitialized in the future 2019-05-20 10:44:02 +02:00
bpf-alu32.rs BPF: remove unnecessary flags from src/test/codegen/bpf-alu32.rs 2021-05-30 11:50:43 +10:00
branch-protection.rs No branch protection metadata unless enabled 2022-02-19 17:31:40 +02:00
c-variadic-copy.rs Expose VaListImpl as the Rust equivalent of __va_list_tag and implement Clone for it. 2019-06-17 16:04:49 -07:00
c-variadic-opt.rs Expose VaListImpl as the Rust equivalent of __va_list_tag and implement Clone for it. 2019-06-17 16:04:49 -07:00
c-variadic.rs rustc: Fill out remaining parts of C-unwind ABI 2021-08-03 07:06:19 -07:00
call-llvm-intrinsics.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
call-metadata.rs Apply noundef attribute to all scalar types which do not permit raw init 2022-02-26 16:42:33 -05:00
catch-unwind.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
cdylib-external-inline-fns.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
cf-protection.rs Add support for control-flow protection 2022-02-14 08:31:24 -08: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 Remove licenses 2018-12-25 21:08:33 -07:00
consts.rs Update allocation id 2022-03-23 16:50:42 +00: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 Test that column information is not emitted for MSVC targets 2020-02-26 21:45:34 +01:00
debug-column.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08: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
debug-vtable.rs debuginfo: Bring back DW_AT_containing_type for vtables after it has accidentally been 2022-02-03 10:03:16 +01:00
debuginfo-generic-closure-env-names.rs Use CHECK-DAG in codegen/debuginfo-generic-closure-env-names.rs 2022-03-01 15:53:22 -08:00
default-requires-uwtable.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
drop.rs Fix codegen test for MSVC 2022-02-19 17:29:56 +00:00
dst-vtable-align-nonzero.rs tests: avoid problems on 32 bit machines 2022-03-01 16:07:46 -05:00
enum-bounds-check-derived-idx.rs Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07:00
enum-bounds-check-issue-13926.rs Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07:00
enum-bounds-check-issue-82871.rs Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07: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 Update the minimum external LLVM to 8 2020-04-14 12:44:41 -07:00
enum-debug-tagged.rs Update the minimum external LLVM to 8 2020-04-14 12:44:41 -07:00
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 Fix reachable_set for non-function items in non-library crates 2021-08-15 02:59:53 +08:00
fastcall-inreg.rs make tests work on noopt builder 2022-02-25 14:17:45 -05:00
fatptr.rs Remove licenses 2018-12-25 21:08:33 -07:00
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 Remove licenses 2018-12-25 21:08:33 -07:00
fn-impl-trait-self.rs debuginfo: Simplify TypeMap used during LLVM debuginfo generation. 2022-02-21 13:03:36 +01:00
foo.s Add global_asm tests 2017-04-12 19:12:50 -05:00
force-frame-pointers.rs Update the minimum external LLVM to 8 2020-04-14 12:44:41 -07:00
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 short-circuit the easy cases in is_copy_modulo_regions 2022-03-10 01:19:02 -08:00
function-arguments-noopt.rs avoid test failure on targets where all functions are dso_local (e.g. wasm) 2022-02-25 19:24:59 -05:00
function-arguments.rs Apply noundef attribute to all scalar types which do not permit raw init 2022-02-26 16:42:33 -05:00
gdb_debug_script_load.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
generator-debug-msvc.rs debuginfo: change cpp-like naming for generator environments so that NatVis works for them 2022-03-14 16:52:47 +01:00
generator-debug.rs debuginfo: Refactor debuginfo generation for types 2022-03-14 16:49:06 +01:00
generic-debug.rs Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
global_asm.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
global_asm_include.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
global_asm_x2.rs Stabilize asm! and global_asm! 2021-12-12 11:20:03 +00:00
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 Support revisions for codegen tests 2019-01-24 20:13:51 +02:00
inline-debuginfo.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
inline-hint.rs mir-opt: Replace clone on primitives with copy 2022-03-10 01:19:02 -08:00
instrument-mcount.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
integer-cmp.rs Small improvement for Ord implementation of integers 2019-08-29 03:52:18 +00:00
integer-overflow.rs Added a codegen test for a recent optimization for overflow-checks=on 2020-05-24 16:20:02 -04:00
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 Remove licenses 2018-12-25 21:08:33 -07:00
issue-13018.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-15953.rs Remove licenses 2018-12-25 21:08:33 -07:00
issue-27130.rs Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07: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 Remove licenses 2018-12-25 21:08:33 -07:00
issue-34634.rs Add test for issue #34634 2020-09-20 11:15:00 +02:00
issue-34947-pow-i32.rs Gate llvm.sideeffect under -Z insert-sideeffect 2019-09-28 07:13:53 +08:00
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 Disable failing codegen test 2020-02-08 18:47:41 -05:00
issue-45466.rs ignore some codegen tests in debug mode 2019-07-15 16:56:43 +02:00
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 Remove licenses 2018-12-25 21:08:33 -07:00
issue-56267-2.rs rustc_codegen_llvm: don't overalign loads of pair operands. 2018-11-29 00:37:38 +02:00
issue-56267.rs Fix alignment of stores to scalar pair 2018-11-28 00:31:03 +01:00
issue-56927.rs Update tests to remove old numeric constants 2020-11-29 00:55:55 -05:00
issue-58881.rs Fix LLVM IR generated for C-variadic arguments 2019-03-31 17:37:37 +00:00
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 Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07:00
issue-73338-effecient-cmp.rs Optimize PartialOrd le 2021-04-04 20:37:48 +03:00
issue-73396-bounds-check-after-position.rs Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07:00
issue-73827-bounds-check-index-in-subexpr.rs Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07:00
issue-75525-bounds-checks.rs Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07:00
issue-75546.rs Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07:00
issue-75659.rs Only test on x86_64 2020-10-01 16:02:32 +02:00
issue-77812.rs Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07: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-dead-code.rs test: support both (legacy and v0) choices of mangling. 2019-05-31 18:24:53 +03:00
link_section.rs Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
loads.rs make test work on noopt builder 2022-03-02 22:46:23 -05:00
local-generics-in-exe-internalized.rs test: support both (legacy and v0) choices of mangling. 2019-05-31 18:24:53 +03:00
lto-removes-invokes.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
mainsubprogram.rs Adjust codegen tests for DISPFlagMainSubprogram 2019-07-09 21:55:29 +02:00
mainsubprogramstart.rs Adjust codegen tests for DISPFlagMainSubprogram 2019-07-09 21:55:29 +02:00
match-optimizes-away.rs Remove licenses 2018-12-25 21:08:33 -07:00
match.rs rustc_codegen_ssa: only create backend BasicBlocks as-needed. 2021-05-17 00:04:09 +03:00
mem-replace-direct-memcpy.rs Avoid using the copy_nonoverlapping wrapper through mem::replace. 2021-08-08 13:59:36 +03:00
merge-functions.rs Add test for issue #91490 2021-12-09 14:04:15 +01:00
mir_zst_stores.rs Remove licenses 2018-12-25 21:08:33 -07:00
naked-functions.rs Reject unsupported naked functions 2022-01-21 17:38:21 +01:00
naked-noinline.rs Reject unsupported naked functions 2022-01-21 17:38:21 +01:00
no-assumes-on-casts.rs Remove licenses 2018-12-25 21:08:33 -07:00
no-dllimport-w-cross-lang-lto.rs Stabilize linker-plugin based LTO. 2019-02-12 15:10:29 +01:00
no-plt.rs Relax a codegen test 2021-08-03 07:59:59 -07:00
noalias-unpin.rs Don't compute optimized PointerKind for unoptimized builds 2021-03-21 20:54:42 +01:00
noreturn-uninhabited.rs Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
noreturnflag.rs Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
nounwind.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
nrvo.rs Test that NRVO elides the call to memcpy 2020-05-17 10:24:06 -07:00
optimize-attr-1.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
packed.rs apply noundef explicitly in all cases instead of relying on dereferenceable implying it 2022-02-06 21:11:11 -05:00
panic-abort-windows.rs Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
panic-in-drop-abort.rs Pin panic-in-drop=abort test to old pass manager 2021-09-25 12:40:16 +02: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 Re-enable Emscripten's exception handling support 2019-10-25 15:16:36 -07:00
pgo-instrumentation.rs Allow combining -Cprofile-generate and -Cpanic=unwind when targeting 2021-07-20 11:41:51 +02:00
pic-relocation-model.rs Add pie as another relocation-model value 2021-10-01 08:06:42 +02:00
pie-relocation-model.rs Add pie as another relocation-model value 2021-10-01 08:06:42 +02:00
README.md add link to FileCheck docs 2019-08-26 20:40:30 +02:00
refs.rs simplify-locals: Remove unused assignments regardless of rvalue kind 2020-10-26 10:48:28 +01:00
repeat-trusted-len.rs Update codegen tests for LLVM 13 2021-08-16 18:26:57 +02:00
repr-transparent-aggregates-1.rs make tests work on noopt builder 2022-02-25 14:17:45 -05:00
repr-transparent-aggregates-2.rs Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07:00
repr-transparent-aggregates-3.rs Update the minimum external LLVM to 12 2021-10-22 10:50:07 -07:00
repr-transparent-sysv64.rs Update codegen tests with unnamed arguments 2020-01-07 21:28:22 +01:00
repr-transparent.rs Apply noundef attribute to all scalar types which do not permit raw init 2022-02-26 16:42:33 -05:00
sanitizer-memory-track-orgins.rs compiletest: Add directives to detect sanitizer support 2020-06-13 14:24:30 +02:00
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
sanitizer_cfi_add_canonical_jump_tables_flag.rs Add LLVM CFI support to the Rust compiler 2021-10-25 16:23:01 -07:00
sanitizer_cfi_emit_type_checks.rs Add LLVM CFI support to the Rust compiler 2021-10-25 16:23:01 -07:00
sanitizer_cfi_emit_type_metadata.rs Add LLVM CFI support to the Rust compiler 2021-10-25 16:23:01 -07:00
sanitizer_memtag_attr_check.rs MemTagSanitizer Support 2022-02-16 09:39:03 -05:00
scalar-pair-bool.rs Apply noundef attribute to &T, &mut T, Box<T>, bool 2022-02-05 01:09:52 -05:00
set-discriminant-invalid.rs use abort instead of unreachable 2019-12-06 00:10:01 +01:00
simd_arith_offset.rs add codegen smoke test 2022-04-15 15:04:00 -04:00
slice-as_chunks.rs Try ignore-debug in the codegen test 2021-01-16 14:52:48 -08:00
slice-init.rs Remove licenses 2018-12-25 21:08:33 -07:00
slice-iter-len-eq-zero.rs Help LLVM better optimize slice::Iter(Mut)::len 2019-06-15 21:15:25 -07:00
slice-position-bounds-check.rs Remove licenses 2018-12-25 21:08:33 -07:00
slice-ref-equality.rs Do array-slice equality via arrays, rather than always via slices 2021-12-14 13:15:15 -08:00
slice-reverse.rs Don't run the codegen test when debug_assert is enabled 2021-11-14 16:24:31 -08: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 Add test for nested structures. 2022-02-24 13:46:34 +01:00
sse42-implies-crc32.rs rustc_codegen_llvm: make sse4.2 imply crc32 for LLVM 14 2021-09-20 11:31:55 -04: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
stack-protector.rs add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01: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-large-types.rs For MIRI, cfg out the swap logic from 94212 2022-02-26 18:57:15 -08:00
swap-simd-types.rs Stop manually SIMDing in swap_nonoverlapping 2022-02-21 00:54:02 -08:00
swap-small-types.rs Stop manually SIMDing in swap_nonoverlapping 2022-02-21 00:54:02 -08:00
target-cpu-on-functions.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
target-feature-overrides.rs Always include global target features in function attributes 2022-03-04 16:57:34 +01:00
thread-local.rs update test assertion 2022-01-17 16:20:46 +01: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 Apply noundef attribute to &T, &mut T, Box<T>, bool 2022-02-05 01:09:52 -05:00
try_identity.rs Fix tests broken by deaggregation change 2022-04-11 09:26:26 -04:00
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
uninit-consts.rs limit tests to llvm 14+ 2022-02-20 12:57:22 -05:00
union-abi.rs Revert #26494 regression 2022-03-03 18:30:27 +00:00
unpadded-simd.rs Add testcase for proper LLVM representation of SIMD types. 2021-08-04 23:36:14 +02:00
unwind-and-panic-abort.rs Change TerminatorKind::Abort to call the panic handler instead of 2022-01-17 00:39:34 +00:00
unwind-extern-exports.rs rustc: Fill out remaining parts of C-unwind ABI 2021-08-03 07:06:19 -07:00
unwind-extern-imports.rs rustc: Fill out remaining parts of C-unwind ABI 2021-08-03 07:06:19 -07:00
used_with_arg.rs add more tests and make used(linker/compiler) mutually exclusive 2022-02-08 23:51:17 +01:00
var-names.rs Manually set dso_local when its valid to do so 2021-04-03 00:00:29 +03:00
vec-in-place.rs Update the minimum external LLVM to 11 2021-10-22 09:22:18 -07:00
vec-iter-collect-len.rs Gate llvm.sideeffect under -Z insert-sideeffect 2019-09-28 07:13:53 +08:00
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-panik.rs update vec-shrink-panik test to allow panic_no_unwind in landingpads 2022-02-27 23:15:49 -05:00
vecdeque_no_panic.rs Remove unreachable panics from VecDeque 2021-01-14 19:31:56 +01:00
wasm_casts_trapping.rs Update the minimum external LLVM to 12 2021-10-22 10:50:07 -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 Remove licenses 2018-12-25 21:08:33 -07:00
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.