================
@@ -73,7 +73,7 @@ mlir::Attribute 
getBitIntStorageAttr(mlir::ConversionPatternRewriter &rewriter,
 
 mlir::Type convertTypeForMemory(const mlir::TypeConverter &converter,
                                 mlir::DataLayout const &dataLayout,
-                                mlir::Type type) {
+                                mlir::Type type, bool isForHLSL) {
----------------
AmrDeveloper wrote:

I am thinking: can't we just use `LoweringLangOptionsAttr` directly? It's one 
per module, we can access it from any Operation. There are already functions to 
access ops, for example, `getHLSL` without the need to introduce another 
layer/wrapper around it 🤔.

https://github.com/llvm/llvm-project/pull/232079
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to