diff options
| author | Karan Janthe <karanjanthe@gmail.com> | 2025-08-23 21:56:56 +0000 |
|---|---|---|
| committer | Karan Janthe <karanjanthe@gmail.com> | 2025-09-19 04:02:19 +0000 |
| commit | 375e14ef491ac7bfa701e269b2815625abf2fca6 (patch) | |
| tree | 398d7a2d0dbe09de910c73061a84c210d55455b4 /compiler/rustc_ast | |
| parent | e1258e79d6cb709b26ded97d32de6c55f355e2aa (diff) | |
| download | rust-375e14ef491ac7bfa701e269b2815625abf2fca6.tar.gz rust-375e14ef491ac7bfa701e269b2815625abf2fca6.zip | |
Add TypeTree metadata attachment for autodiff
- Add F128 support to TypeTree Kind enum - Implement TypeTree FFI bindings and conversion functions - Add typetree.rs module for metadata attachment to LLVM functions - Integrate TypeTree generation with autodiff intrinsic pipeline - Support scalar types: f32, f64, integers, f16, f128 - Attach enzyme_type attributes as LLVM string metadata for Enzyme Signed-off-by: Karan Janthe <karanjanthe@gmail.com>
Diffstat (limited to 'compiler/rustc_ast')
| -rw-r--r-- | compiler/rustc_ast/src/expand/typetree.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast/src/expand/typetree.rs b/compiler/rustc_ast/src/expand/typetree.rs index 9a2dd2e85e0..e7b4f3aff41 100644 --- a/compiler/rustc_ast/src/expand/typetree.rs +++ b/compiler/rustc_ast/src/expand/typetree.rs @@ -31,6 +31,7 @@ pub enum Kind { Half, Float, Double, + F128, Unknown, } |
