[llvm] [SPIR-V] Support extension toggling and enabling all (PR #85503)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 16 00:50:04 PDT 2024


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 60fa2b0670b874b702ddb9f81d098af692ea6875 7bc16ee556ae7aeae81dee927aa997b85abd45c9 -- llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp llvm/lib/Target/SPIRV/SPIRVCommandLine.h llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp b/llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
index ec736d038f..b6f0608d35 100644
--- a/llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
+++ b/llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
@@ -12,8 +12,8 @@
 
 #include "SPIRVSubtarget.h"
 #include "SPIRV.h"
-#include "SPIRVGlobalRegistry.h"
 #include "SPIRVCommandLine.h"
+#include "SPIRVGlobalRegistry.h"
 #include "SPIRVLegalizerInfo.h"
 #include "SPIRVRegisterBankInfo.h"
 #include "SPIRVTargetMachine.h"

``````````

</details>


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


More information about the llvm-commits mailing list