[Mlir-commits] [mlir] [mlir][ArithToAMDGPU] limit scaling truncf/extf support to gfx950 (PR #155431)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Aug 26 09:01:16 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h -- mlir/include/mlir/Conversion/ArithToAMDGPU/ArithToAMDGPU.h mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/Conversion/ArithToAMDGPU/ArithToAMDGPU.h b/mlir/include/mlir/Conversion/ArithToAMDGPU/ArithToAMDGPU.h
index 80adfccdc..fd144edf7 100644
--- a/mlir/include/mlir/Conversion/ArithToAMDGPU/ArithToAMDGPU.h
+++ b/mlir/include/mlir/Conversion/ArithToAMDGPU/ArithToAMDGPU.h
@@ -28,13 +28,10 @@ namespace arith {
/// is set, values outside the range of the destination type are clamped
/// to the largest value of that type instead of being rewritten to Inf (aka
/// NaN).
-void populateArithToAMDGPUConversionPatterns(RewritePatternSet &patterns,
- bool convertFP8Arithmetic,
- bool saturateFP8Truncf,
- bool allowPackedF16Rtz,
- bool supportsScaledExtTrunc,
- amdgpu::Chipset chipset,
- PatternBenefit benefit = 1);
+void populateArithToAMDGPUConversionPatterns(
+ RewritePatternSet &patterns, bool convertFP8Arithmetic,
+ bool saturateFP8Truncf, bool allowPackedF16Rtz, bool supportsScaledExtTrunc,
+ amdgpu::Chipset chipset, PatternBenefit benefit = 1);
} // namespace arith
} // namespace mlir
``````````
</details>
https://github.com/llvm/llvm-project/pull/155431
More information about the Mlir-commits
mailing list