[flang-commits] [flang] [mlir] [MLIR][LLVMIR][DLTI] Add `LLVM::TargetAttrInterface` and `#llvm.target` attr (PR #145899)

Rolf Morel via flang-commits flang-commits at lists.llvm.org
Wed Aug 20 12:19:20 PDT 2025


rolfmorel wrote:

> Is hooking up this to the LLVM lowerings - so thaw we can, for example, know what the actual size of an `[N x i16]` is - a future PR?

In so far as the LLVM lowerings already pick-up DLTI that's attached to IR, the new pass just enables them doing so. Follow-ups PRs will work towards making (more) lowerings pick-up the DLTI-exposed information. 

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


More information about the flang-commits mailing list