Skip to content

Commit 4a1ff5e

Browse files
committed
Bless codegen test.
1 parent 9ec0867 commit 4a1ff5e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/codegen/optimize-attr-1.rs

-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
// CHECK-LABEL: define{{.*}}i32 @nothing
1010
// CHECK-SAME: [[NOTHING_ATTRS:#[0-9]+]]
11-
// NO-OPT: ret i32 4
1211
// SIZE-OPT: ret i32 4
1312
// SPEEC-OPT: ret i32 4
1413
#[no_mangle]
@@ -18,7 +17,6 @@ pub fn nothing() -> i32 {
1817

1918
// CHECK-LABEL: define{{.*}}i32 @size
2019
// CHECK-SAME: [[SIZE_ATTRS:#[0-9]+]]
21-
// NO-OPT: ret i32 6
2220
// SIZE-OPT: ret i32 6
2321
// SPEED-OPT: ret i32 6
2422
#[optimize(size)]
@@ -31,7 +29,6 @@ pub fn size() -> i32 {
3129
// NO-OPT-SAME: [[NOTHING_ATTRS]]
3230
// SPEED-OPT-SAME: [[NOTHING_ATTRS]]
3331
// SIZE-OPT-SAME: [[SPEED_ATTRS:#[0-9]+]]
34-
// NO-OPT: ret i32 8
3532
// SIZE-OPT: ret i32 8
3633
// SPEED-OPT: ret i32 8
3734
#[optimize(speed)]

0 commit comments

Comments
 (0)