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.
2 parents 02df24f + b2299e2 commit e932509Copy full SHA for e932509
compiler/rustc_codegen_llvm/src/back/lto.rs
@@ -680,7 +680,7 @@ pub(crate) fn run_pass_manager(
680
if attributes::has_string_attr(function, enzyme_marker) {
681
// Sanity check: Ensure 'noinline' is present before replacing it.
682
assert!(
683
- !attributes::has_attr(function, Function, llvm::AttributeKind::NoInline),
+ attributes::has_attr(function, Function, llvm::AttributeKind::NoInline),
684
"Expected __enzyme function to have 'noinline' before adding 'alwaysinline'"
685
);
686
0 commit comments