[llvm] [clang] [X86] Support CFE flags for APX features (PR #74199)
Phoebe Wang via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 3 23:35:05 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)
----------------
phoebewang wrote:
Missing PPX?
https://github.com/llvm/llvm-project/pull/74199
More information about the cfe-commits
mailing list