about summary refs log tree commit diff
path: root/tests/codegen/is_val_statically_known.rs
AgeCommit message (Collapse)AuthorLines
2025-07-22Rename `tests/codegen` into `tests/codegen-llvm`Guillaume Gomez-163/+0
2025-02-11tests/codegen: use -Copt-level=3 instead of -OJubilee Young-1/+1
2024-08-17Fix `is_val_statically_known` for floatsbeetrees-2/+79
2024-05-31Run rustfmt on `tests/codegen/`.Nicholas Nethercote-1/+1
Except for `simd-intrinsic/`, which has a lot of files containing multiple types like `u8x64` which really are better when hand-formatted. There is a surprising amount of two-space indenting in this directory. Non-trivial changes: - `rustfmt::skip` needed in `debug-column.rs` to preserve meaning of the test. - `rustfmt::skip` used in a few places where hand-formatting read more nicely: `enum/enum-match.rs` - Line number adjustments needed for the expected output of `debug-column.rs` and `coroutine-debug.rs`.
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-1/+1
2024-02-12Support safe intrinsics with fallback bodiesOli Scherer-2/+2
Turn `is_val_statically_known` into such an intrinsic to demonstrate. It is perfectly safe to call after all.
2024-01-30Add additional test cases for is_val_statically_knownAlex Huang-0/+38
2024-01-23Further Implement `is_val_statically_known`Nicholas Thompson-3/+1
2024-01-19Add new intrinsic `is_constant` and optimize `pow`Catherine Flores-0/+50
Fix overflow check Make MIRI choose the path randomly and rename the intrinsic Add back test Add miri test and make it operate on `ptr` Define `llvm.is.constant` for primitives Update MIRI comment and fix test in stage2 Add const eval test Clarify that both branches must have the same side effects guaranteed non guarantee use immediate type instead Co-Authored-By: Ralf Jung <post@ralfj.de>