summary refs log tree commit diff
path: root/tests/mir-opt/pre-codegen/checked_ops.checked_shl.PreCodegen.after.panic-unwind.mir
AgeCommit message (Collapse)AuthorLines
2025-05-21Add some track_caller info to precondition panicsBen Kimock-1/+1
2024-08-18Bless *all* the mir-opt testsScott McMurray-2/+2
2024-05-23Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methodsltdk-0/+4
2024-04-18Make `checked` ops emit *unchecked* LLVM operations where feasibleScott McMurray-40/+13
For things with easily pre-checked overflow conditions -- shifts and unsigned subtraction -- write then checked methods in such a way that we stop emitting wrapping versions of them. For example, today <https://rust.godbolt.org/z/qM9YK8Txb> neither ```rust a.checked_sub(b).unwrap() ``` nor ```rust a.checked_sub(b).unwrap_unchecked() ``` actually optimizes to `sub nuw`. After this PR they do.
2024-04-18Ensure `[rust] debuginfo-level-std` doesn't change core's MIRScott McMurray-0/+6
2024-04-18Update `checked_ops` so 32- and 64-bit gets the same checksScott McMurray-0/+62