1
Fork 0
rust/compiler/rustc_hir_analysis
Catherine Flores 5a4561749a Add new intrinsic is_constant and optimize pow
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>
2024-01-19 13:46:27 -05:00
..
src Add new intrinsic is_constant and optimize pow 2024-01-19 13:46:27 -05:00
Cargo.toml Disallow reference to static mut for expressions 2024-01-06 06:31:35 +03:00
messages.ftl Disallow reference to static mut for expressions 2024-01-06 06:31:35 +03:00
README.md rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.