[llvm] [clang] [X86] Support CFE flags for APX features (PR #74199)

Shengchen Kan via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 3 23:49:58 PST 2023


================
@@ -927,6 +939,16 @@ void X86TargetInfo::getTargetDefines(const LangOptions &Opts,
     Builder.defineMacro("__USERMSR__");
   if (HasCRC32)
     Builder.defineMacro("__CRC32__");
+  if (HasEGPR)
+    Builder.defineMacro("__EGPR__");
+  if (HasPush2Pop2)
+    Builder.defineMacro("__PUSH2POP2__");
+  if (HasNDD)
----------------
KanRobert wrote:

Yes, done.

https://github.com/llvm/llvm-project/pull/74199


More information about the cfe-commits mailing list