We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eaf4fe commit aa83f17Copy full SHA for aa83f17
tests/mir-opt/copy-prop/non_dominate.rs
@@ -1,4 +1,3 @@
1
-// skip-filecheck
2
//@ test-mir-pass: CopyProp
3
4
#![feature(custom_mir, core_intrinsics)]
@@ -8,6 +7,11 @@ use core::intrinsics::mir::*;
8
7
9
#[custom_mir(dialect = "analysis", phase = "post-cleanup")]
10
fn f(c: bool) -> bool {
+ // CHECK-LABEL: fn f(
11
+ // CHECK: bb2: {
12
+ // CHECK: _2 = copy _3;
13
+ // CHECK: bb3: {
14
+ // CHECK: _0 = copy _2;
15
mir! {
16
let a: bool;
17
let b: bool;
0 commit comments