Skip to content

Commit

Permalink
remove redundant define
Browse files Browse the repository at this point in the history
  • Loading branch information
XinWang10 committed Jan 11, 2024
1 parent ccb92ca commit 7e54c5e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5034,7 +5034,6 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
case Intrinsic::x86_encodekey256:
Opcode = GET_EGPR_IF_ENABLED(X86::ENCODEKEY256);
break;
#undef GET_EGPR_IF_ENABLED
}

SDValue Chain = Node->getOperand(0);
Expand Down Expand Up @@ -6386,7 +6385,6 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
switch (Node->getOpcode()) {
default:
llvm_unreachable("Unexpected opcode!");
#define GET_EGPR_IF_ENABLED(OPC) (Subtarget->hasEGPR() ? OPC##_EVEX : OPC)
case X86ISD::AESENCWIDE128KL:
Opcode = GET_EGPR_IF_ENABLED(X86::AESENCWIDE128KL);
break;
Expand Down

0 comments on commit 7e54c5e

Please sign in to comment.