[llvm] [X86]Support lowering for APX Promoted SHA/MOVDIR/CRC32/INVPCID instructions (PR #76786)
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 3 02:28:37 PST 2024
================
@@ -3046,22 +3046,24 @@ bool X86FastISel::fastLowerIntrinsicCall(const IntrinsicInst *II) {
switch (II->getIntrinsicID()) {
default:
llvm_unreachable("Unexpected intrinsic.");
+#define GET_EGPR_IF_ENABLED(OPC) Subtarget->hasEGPR() ? OPC##_EVEX : OPC;
----------------
KanRobert wrote:
Could we share this macro with KMOV, etc?
https://github.com/llvm/llvm-project/pull/76786
More information about the llvm-commits
mailing list