[clang] Update test intrinsic to support immediates (PR #79174)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 23 09:35:26 PST 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 51f9e982ed5c9a1f39c50d0501ab1bcb6ebf5de4 9ed2a138bd980c1c043e1585cb8e5d82a1592f1e -- clang/lib/CodeGen/CGBuiltin.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index e404f92c28..4c205be47f 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -1220,7 +1220,7 @@ static llvm::Value *EmitX86BitTestIntrinsic(CodeGenFunction &CGF,
   } else {
     Constraints = "={@ccc},r,r,~{cc},~{memory}";
   }
-  
+
   std::string_view MachineClobbers = CGF.getTarget().getClobbers();
   if (!MachineClobbers.empty()) {
     Constraints += ',';

``````````

</details>


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


More information about the cfe-commits mailing list