[Mlir-commits] [mlir] [mojo-lang] use lower case (PR #98253)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Jul 9 17:19:26 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Steffi Stumpos (stumpOS)
<details>
<summary>Changes</summary>
The build is broken with the error message:
```
error: declaration of 'mlir::LLVM::tailcallkind::TailCallKind mlir::LLVM::detail::TailCallKindAttrStorage::TailCallKind' changes meaning of 'TailCallKind'
```
I cannot replicate the error locally because I think it's only reported by GCC not clang. However, I think the change in this patch may fix it.
---
Full diff: https://github.com/llvm/llvm-project/pull/98253.diff
1 Files Affected:
- (modified) mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td (+2-2)
``````````diff
diff --git a/mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td b/mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
index 25a6ee27b01db..aefc02bce40fb 100644
--- a/mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
+++ b/mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
@@ -1082,8 +1082,8 @@ def LLVM_ZeroAttr : LLVM_Attr<"Zero", "zero">;
//===----------------------------------------------------------------------===//
def TailCallKindAttr : LLVM_Attr<"TailCallKind", "tailcallkind"> {
- let parameters = (ins "TailCallKind":$TailCallKind);
- let assemblyFormat = "`<` $TailCallKind `>`";
+ let parameters = (ins "TailCallKind":$tailCallKind);
+ let assemblyFormat = "`<` $tailCallKind `>`";
}
#endif // LLVMIR_ATTRDEFS
``````````
</details>
https://github.com/llvm/llvm-project/pull/98253
More information about the Mlir-commits
mailing list