[Mlir-commits] [mlir] [MLIR][DLTI] Add mangling style (PR #125875)

Rolf Morel llvmlistbot at llvm.org
Thu Feb 6 12:05:26 PST 2025


================
@@ -612,6 +623,22 @@ mlir::Attribute mlir::DataLayout::getAllocaMemorySpace() const {
   return *allocaMemorySpace;
 }
 
+mlir::Attribute mlir::DataLayout::getManglingStyle() const {
----------------
rolfmorel wrote:

A general note: the amount of duplicate (boilerplate) code among these methods is rather silly. We should find a better way deal with supporting these properties. Not needed for this PR though as it it just keeps to the existing theme.

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


More information about the Mlir-commits mailing list