[llvm] [X86][APX] Remove KEYLOCKER and SHA promotions from EVEX MAP4. (PR #89173)
Freddy Ye via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 18 19:34:38 PDT 2024
================
@@ -5047,17 +5047,17 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
switch (IntNo) {
default: llvm_unreachable("Impossible intrinsic");
case Intrinsic::x86_encodekey128:
- Opcode = GET_EGPR_IF_ENABLED(X86::ENCODEKEY128);
+ Opcode = X86::ENCODEKEY128;
break;
case Intrinsic::x86_encodekey256:
- Opcode = GET_EGPR_IF_ENABLED(X86::ENCODEKEY256);
+ Opcode = X86::ENCODEKEY256;
break;
}
SDValue Chain = Node->getOperand(0);
Chain = CurDAG->getCopyToReg(Chain, dl, X86::XMM0, Node->getOperand(3),
SDValue());
- if (Opcode == X86::ENCODEKEY256 || Opcode == X86::ENCODEKEY256_EVEX)
+ if (Opcode == X86::ENCODEKEY256)
----------------
FreddyLeaf wrote:
Sorry, updated.
https://github.com/llvm/llvm-project/pull/89173
More information about the llvm-commits
mailing list