[llvm] [GISel] Explicitly disable BF16 tablegen patterns. (PR #124113)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 24 03:49:27 PST 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 3208801aec1867b83335418d84ee09b773ef5b2e a8414e311a4b395d2ac08d22ee74cb38f24788b2 --extensions cpp -- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp llvm/lib/CodeGen/TargetPassConfig.cpp llvm/utils/TableGen/GlobalISelEmitter.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 120ecb40da..847a1aef39 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -1042,8 +1042,7 @@ bool TargetPassConfig::addCoreISelPasses() {
 
     // Pass to reset the MachineFunction if the ISel failed.
     addPass(createResetMachineFunctionPass(
-        reportDiagnosticWhenGlobalISelFallback(),
-        isGlobalISelAbortEnabled()));
+        reportDiagnosticWhenGlobalISelFallback(), isGlobalISelAbortEnabled()));
   }
 
   // Run the SDAG InstSelector, providing a fallback path when we do not want to

``````````

</details>


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


More information about the llvm-commits mailing list