Skip to content

Commit bed624d

Browse files
Remove references to LLVM 14.0.0, which is no longer supported
1 parent ed3030c commit bed624d

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

compiler/rustc_codegen_llvm/src/builder.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,12 +1237,6 @@ impl<'a, 'll, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
12371237
// Cleanup is always the cold path.
12381238
attrs.push(llvm::AttributeKind::Cold.create_attr(self.llcx));
12391239

1240-
// LLVM 14 contains fixes for catastrophic inlining behavior, without which
1241-
// inlining drop glue can lead to exponential size blowup, see #41696 and #92110.
1242-
if llvm_util::get_version() < (14, 0, 0) {
1243-
attrs.push(llvm::AttributeKind::NoInline.create_attr(self.llcx));
1244-
}
1245-
12461240
attributes::apply_to_callsite(llret, llvm::AttributePlace::Function, &attrs);
12471241
}
12481242
}

tests/codegen/issue-97217.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// min-llvm-version: 14.0.0
21
// compile-flags: -C opt-level=3
32
// ignore-debug: the debug assertions get in the way
43
#![crate_type = "lib"]

tests/codegen/unwind-landingpad-cold.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// min-llvm-version: 14.0.0
21
// compile-flags: -Cno-prepopulate-passes
32
#![crate_type = "lib"]
43

0 commit comments

Comments
 (0)