Skip to content

Commit

Permalink
Update src/ffi.rs
Browse files Browse the repository at this point in the history
Co-authored-by: MrAzteca <[email protected]>
  • Loading branch information
edg-l and azteca1998 authored Oct 15, 2024
1 parent 1a3ff3d commit b8346e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ pub fn module_to_object(module: &Module<'_>, opt_level: OptLevel) -> Result<Vec<
let opt = match opt_level {
OptLevel::None => 0,
OptLevel::Less => 1,
// slp-vectorizer pass may cause issues, but after the change
// on function attributes it seems to not trigger it anymore.
// slp-vectorizer pass did cause some issues, but after the change
// on function attributes it seems to not trigger them anymore.
// https://github.com/llvm/llvm-project/issues/107198
OptLevel::Default => 2,
OptLevel::Aggressive => 3,
Expand Down

0 comments on commit b8346e7

Please sign in to comment.