[llvm] [GlobalISel][AMDGPU] LLT changes for FPInfo (PR #130651)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 11 07:58:18 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 7c77a4655ca56eab7e1a4419f0013b514ab42473 0a920fd0d633eaf0363501bd86ce180a271e4a98 --extensions cpp,h -- llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h llvm/include/llvm/CodeGen/LowLevelTypeUtils.h llvm/include/llvm/CodeGenTypes/LowLevelType.h llvm/lib/CodeGen/GlobalISel/LegalizeMutations.cpp llvm/lib/CodeGen/LowLevelTypeUtils.cpp llvm/lib/CodeGen/MIRParser/MIParser.cpp llvm/lib/CodeGenTypes/LowLevelType.cpp llvm/unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/LowLevelTypeUtils.cpp b/llvm/lib/CodeGen/LowLevelTypeUtils.cpp
index 2c60d61224..cf82f71b3b 100644
--- a/llvm/lib/CodeGen/LowLevelTypeUtils.cpp
+++ b/llvm/lib/CodeGen/LowLevelTypeUtils.cpp
@@ -121,7 +121,7 @@ const llvm::fltSemantics &llvm::getFltSemanticForLLT(LLT Ty) {
if (Ty.isPPCF128())
return APFloat::PPCDoubleDouble();
- // TODO: strengthen assertion by removing isScalar()
+ // TODO: strengthen assertion by removing isScalar()
// once LLT has transitioned from scalars to intgeres and floats.
assert(Ty.isIEEEFloat() || Ty.isScalar() && "Unhandled variant float type");
``````````
</details>
https://github.com/llvm/llvm-project/pull/130651
More information about the llvm-commits
mailing list