rust/tests/ui/intrinsics
Matthias Krüger 918304b190
Rollup merge of #124003 - WaffleLapkin:dellvmization, r=scottmcm,RalfJung,antoyo
Dellvmize some intrinsics (use `u32` instead of `Self` in some integer intrinsics)

This implements https://github.com/rust-lang/compiler-team/issues/693 minus what was implemented in #123226.

Note: I decided to _not_ change `shl`/... builder methods, as it just doesn't seem worth it.

r? ``@scottmcm``
2024-04-23 20:17:51 +02:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
always-gets-overridden.rs Add a scheme for moving away from extern "rust-intrinsic" entirely 2024-03-04 16:13:50 +00:00
bad-intrinsic-monomorphization.rs Fixup 2 ui tests using changed intrinsics 2024-04-16 12:39:53 +00:00
bad-intrinsic-monomorphization.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-eval-select-backtrace-std.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-eval-select-backtrace-std.run.stderr Improve spans for indexing expressions 2023-08-04 13:17:39 +02:00
const-eval-select-backtrace.rs const_eval_select: make it safe but be careful with what we expose on stable for now 2024-03-02 16:09:31 +01:00
const-eval-select-backtrace.run.stderr const_eval_select: make it safe but be careful with what we expose on stable for now 2024-03-02 16:09:31 +01:00
const-eval-select-bad.rs Pretty print Fn traits in rustc_on_unimplemented 2023-11-02 20:57:05 +00:00
const-eval-select-bad.stderr Check const_eval_select intrinsic correctly 2023-12-18 20:28:06 +00:00
const-eval-select-stability.rs const_eval_select: make it safe but be careful with what we expose on stable for now 2024-03-02 16:09:31 +01:00
const-eval-select-stability.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-eval-select-x86_64.rs const_eval_select: make it safe but be careful with what we expose on stable for now 2024-03-02 16:09:31 +01:00
const-eval-select.rs const_eval_select: make it safe but be careful with what we expose on stable for now 2024-03-02 16:09:31 +01:00
feature-gate-safe-intrinsic.rs Gate and validate #[rustc_safe_intrinsic] 2023-09-25 22:33:15 +02:00
feature-gate-safe-intrinsic.stderr Bless tests 2024-01-13 12:46:58 -05:00
incorrect-read_via_copy-defn.rs Don't even parse an intrinsic unless the feature gate is enabled 2024-04-07 13:30:12 -04:00
incorrect-read_via_copy-defn.stderr Don't even parse an intrinsic unless the feature gate is enabled 2024-04-07 13:30:12 -04:00
incorrect-transmute.rs Don't even parse an intrinsic unless the feature gate is enabled 2024-04-07 13:30:12 -04:00
incorrect-transmute.stderr Don't even parse an intrinsic unless the feature gate is enabled 2024-04-07 13:30:12 -04:00
intrinsic-alignment.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
intrinsic-assume.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsic-atomics-cc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsic-atomics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsic-nearby.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsic-raw_eq-const-bad.rs const validation: point at where we found a pointer but expected an integer 2023-08-02 18:51:50 +02:00
intrinsic-raw_eq-const-bad.stderr Normalize alloc-id in tests. 2023-10-16 16:29:35 +00:00
intrinsic-raw_eq-const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsic-unreachable.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsic-volatile.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
intrinsics-integer.rs Fixup 2 ui tests using changed intrinsics 2024-04-16 12:39:53 +00:00
intrinsics-math.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-28575.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-28575.stderr Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
issue-84297-reifying-copy.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-integer-atomic.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
non-integer-atomic.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
not-overridden.rs Add a scheme for moving away from extern "rust-intrinsic" entirely 2024-03-04 16:13:50 +00:00
not-overridden.stderr Add a scheme for moving away from extern "rust-intrinsic" entirely 2024-03-04 16:13:50 +00:00
panic-uninitialized-zeroed.rs Stabilize generic NonZero. 2024-04-22 18:48:47 +02:00
safe-intrinsic-mismatch.rs Give the (un)likely intrinsics fallback bodies 2024-02-16 22:26:01 +00:00
safe-intrinsic-mismatch.stderr Give the (un)likely intrinsics fallback bodies 2024-02-16 22:26:01 +00:00
unchecked_math_unsafe.rs Remove revisions for THIR unsafeck 2024-01-05 09:30:27 +00:00
unchecked_math_unsafe.stderr Stabilize THIR unsafeck 2024-01-05 10:00:59 +00:00
unchecked_math_unstable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unchecked_math_unstable.stderr Bless tests 2024-01-13 12:46:58 -05:00