[llvm] [X86] Support promoted ENQCMD, KEYLOCKER and USER-MSR instructions (PR #77293)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 21:50:15 PST 2024
================
@@ -6380,18 +6386,20 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
switch (Node->getOpcode()) {
default:
llvm_unreachable("Unexpected opcode!");
+#define GET_EGPR_IF_ENABLED(OPC) (Subtarget->hasEGPR() ? OPC##_EVEX : OPC)
----------------
KanRobert wrote:
We are in the same file, really don't need to undef a macro and define it again.
https://github.com/llvm/llvm-project/pull/77293
More information about the llvm-commits
mailing list