[clang] [llvm] [Driver,CodeGen] Report error when enabling 64-bit-only features on non-64-bit arch (PR #101151)
Freddy Ye via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 30 19:10:28 PDT 2024
================
@@ -248,6 +248,10 @@ void x86::getX86TargetFeatures(const Driver &D, const llvm::Triple &Triple,
Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name));
}
+ llvm::StringSet<> SubFeaturesOfAPX = {"egpr", "push2pop2", "ppx", "ndd",
+ "ccmp", "nf", "cf", "zu"};
+ llvm::StringSet<> FeaturesIn64BitOnly = {"uintr"};
----------------
FreddyLeaf wrote:
Got it, thanks!
https://github.com/llvm/llvm-project/pull/101151
More information about the cfe-commits
mailing list