about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src
diff options
context:
space:
mode:
authorCatherine Flores <catherine.3.flores@gmail.com>2023-08-01 15:35:12 +0000
committerNicholas Thompson <NCGThompson@gmail.com>2024-01-19 13:46:27 -0500
commit5a4561749a18fa96691f9cf79699e6ab2f1f7b2c (patch)
tree108d8b27aab1d3348a0c84e2dab8ab50b15fde7f /compiler/rustc_codegen_cranelift/src
parent94807670a6a3834cc9b71b0b803d49d307c9ba5d (diff)
downloadrust-5a4561749a18fa96691f9cf79699e6ab2f1f7b2c.tar.gz
rust-5a4561749a18fa96691f9cf79699e6ab2f1f7b2c.zip
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>
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
0 files changed, 0 insertions, 0 deletions