[flang-commits] [flang] [Flang] Use `LLVMConversionTarget` instead of `ConversionTarget`. (PR #169770)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu Nov 27 03:24:14 PST 2025


https://github.com/tblah commented:

LLVMConversionTarget inherits from ConversionTarget. The constructor does
```
addLegalDialect<LLVM::LLVMDialect>();
addLegalOp<UnrealizedConversionCastOp>();
```

I'm not sure what the effects are of allowing unrealized conversion casts. Please could you explain this more in the PR description?

https://github.com/llvm/llvm-project/pull/169770


More information about the flang-commits mailing list