rust/compiler/rustc_codegen_ssa/src/mir
bors 5197c96c49 Auto merge of #101483 - oli-obk:guaranteed_opt, r=fee1-dead
The `<*const T>::guaranteed_*` methods now return an option for the unknown case

cc https://github.com/rust-lang/rust/issues/53020#issuecomment-1236932443

I chose `0` for "not equal" and `1` for "equal" and left `2` for the unknown case so backends can just forward to raw pointer equality and it works 

r? `@fee1-dead` or `@lcnr`

cc `@rust-lang/wg-const-eval`
2022-09-10 09:50:21 +00:00
..
analyze.rs Replace Body::basic_blocks() with field access 2022-08-26 14:27:08 +02:00
block.rs Make const_eval_select a real intrinsic 2022-09-04 20:35:23 +08:00
constant.rs implement valtrees as the type-system representation for constant values 2022-06-14 16:07:11 +02:00
coverageinfo.rs Add SourceScope::inlined_instance 2022-07-08 09:19:07 +02:00
debuginfo.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
intrinsic.rs Auto merge of #101483 - oli-obk:guaranteed_opt, r=fee1-dead 2022-09-10 09:50:21 +00:00
mod.rs Fix a bunch of typo 2022-08-31 18:24:55 +08:00
operand.rs Remove dead broken code from const zst handling in backends 2022-09-06 14:09:49 +00:00
place.rs Change name of "dataful" variant to "untagged" 2022-09-07 20:12:45 +00:00
rvalue.rs Use memset when repeating 128bit zero value 2022-09-09 15:54:14 +02:00
statement.rs Generalize the Assume intrinsic statement to a general Intrinsic statement 2022-09-06 14:18:32 +00:00