This revision implements HLFIR to FIR lowering for complex parts.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks, this looks great to me.
flang/lib/Optimizer/Dialect/FIROps.cpp | ||
---|---|---|
2331 | Interesting, I was curious why this came out in this patch and not with the current lowering, but it turns out you are also fixing a bug with the current lowering, thanks! However, did you check if fir.rebox codegen works properly with this case? |
Interesting, I was curious why this came out in this patch and not with the current lowering, but it turns out you are also fixing a bug with the current lowering, thanks!
However, did you check if fir.rebox codegen works properly with this case?
I think it would be great to add a fir.rebox codegen test in https://github.com/llvm/llvm-project/blob/main/flang/test/Fir/rebox.fir to ensure the op verifier can be relaxed without further changes.