-
Notifications
You must be signed in to change notification settings - Fork 15
[P0] Problems with e2e conversion #160
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Summary
Lowering from LLVM/MLIR to the Neura dialect fails on two operations that aren’t currently converted: llvm.fdiv and llvm.fptosi. Additionally, llvm.fdiv receives an operand of type !neura.data<f32, i1>, which triggers a type mismatch.
Failing IR snippet
%13 = llvm.fdiv %12, %3 : f32
%14 = llvm.fptosi %13 : f32 to i32
Error messages
- llvm.fdiv op operand #0 must be floating point LLVM type or LLVM dialect-compatible vector of floating point LLVM type, but got !neura.data<f32, i1>.
- No conversion rule exists for llvm.fptosi.
I have uploaded the histogram to the branch testbench. Here is the PR: #161
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested