Open harishch4 opened 4 months ago
https://github.com/llvm/llvm-project/pull/88430 was merged, fixing test1.
@llvm/issue-subscribers-flang-frontend
Author: None (harishch4)
However, in the case of test4 there is also an issue in lowering:
error: loc("test4.f90":15:15): 'fir.convert' op invalid type conversion'f32' / '!fir.box<!fir.ptr<f32>>'
error: Lowering to LLVM IR failed
error: loc("test4.f90":15:15): cannot be converted to LLVM IR: missing `LLVMTranslationDialectInterface` registration for dialect for op: func.func
error: failed to create the LLVM module
I'll open a separate issue for it.
Opened #95801 to track the lowering issue in copyprivate.
Fixed by #95799.
https://github.com/llvm/llvm-project/pull/95799 was reverted. This issue should be fixed by https://github.com/llvm/llvm-project/pull/101009 now.
Here is a list of test cases that are failing in flang-new but are working in other compilers. Godbolt link