[llvm] [X86][CodeGen] Support using NF instructions for flag copy lowering (PR #93508)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 00:07:52 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 698058fd2bcbe9966f56eb132ae8741cd89f1048 4e3a144249bbf40124fe4df0ba7d4c24442e860f -- llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp b/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
index 6048f32510..2bb1dfdee5 100644
--- a/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
+++ b/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
@@ -236,11 +236,7 @@ static MachineBasicBlock &splitBlock(MachineBasicBlock &MBB,
return NewMBB;
}
-enum EFLAGSClobber {
- NoClobber,
- EvitableClobber,
- InevitableClobber
-};
+enum EFLAGSClobber { NoClobber, EvitableClobber, InevitableClobber };
// TODO: Generate the full mapping with tablgen
unsigned getNFVariant(unsigned Opc) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/93508
More information about the llvm-commits
mailing list