[llvm] [X86][APX] Remove KEYLOCKER and SHA promotions from EVEX MAP4. (PR #89173)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 17 23:40:20 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 bd32aaa8c9ec2094f605315b3989adc2a567ca98 abc31d6ab138144ec9cd0e1f27d0dd78ecfd1ec9 -- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp llvm/test/TableGen/x86-fold-tables.inc llvm/utils/TableGen/X86FoldTablesEmitter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
index 65e0c06a80..76043f8d07 100644
--- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -5046,8 +5046,12 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
unsigned Opcode;
switch (IntNo) {
default: llvm_unreachable("Impossible intrinsic");
- case Intrinsic::x86_encodekey128: Opcode = X86::ENCODEKEY128; break;
- case Intrinsic::x86_encodekey256: Opcode = X86::ENCODEKEY256; break;
+ case Intrinsic::x86_encodekey128:
+ Opcode = X86::ENCODEKEY128;
+ break;
+ case Intrinsic::x86_encodekey256:
+ Opcode = X86::ENCODEKEY256;
+ break;
}
SDValue Chain = Node->getOperand(0);
``````````
</details>
https://github.com/llvm/llvm-project/pull/89173
More information about the llvm-commits
mailing list