File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
compiler/rustc_codegen_llvm/src Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -600,8 +600,8 @@ fn enable_autodiff_settings(ad: &[config::AutoDiff]) {
600
600
llvm:: set_print_type ( true ) ;
601
601
}
602
602
config:: AutoDiff :: PrintTAFn ( fun) => {
603
- llvm:: set_print_type ( true ) ; // Enable general type printing
604
- llvm:: set_print_type_fun ( & fun) ; // Set specific function to analyze
603
+ llvm:: set_print_type ( true ) ; // Enable general type printing
604
+ llvm:: set_print_type_fun ( & fun) ; // Set specific function to analyze
605
605
}
606
606
config:: AutoDiff :: Inline => {
607
607
llvm:: set_inline ( true ) ;
Original file line number Diff line number Diff line change @@ -57,9 +57,10 @@ pub(crate) use self::Enzyme_AD::*;
57
57
58
58
#[ cfg( llvm_enzyme) ]
59
59
pub ( crate ) mod Enzyme_AD {
60
- use libc:: c_void;
61
60
use std:: ffi:: { CString , c_char} ;
62
61
62
+ use libc:: c_void;
63
+
63
64
unsafe extern "C" {
64
65
pub ( crate ) fn EnzymeSetCLBool ( arg1 : * mut :: std:: os:: raw:: c_void , arg2 : u8 ) ;
65
66
pub ( crate ) fn EnzymeSetCLString ( arg1 : * mut :: std:: os:: raw:: c_void , arg2 : * const c_char ) ;
You can’t perform that action at this time.
0 commit comments