[clang] [llvm] [PowerPC][X86] Make cpu id builtins target independent and lower for PPC (PR #68919)
Nemanja Ivanovic via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 11 04:27:20 PST 2024
================
@@ -32,6 +32,7 @@ class PPCTargetMachine final : public LLVMTargetMachine {
std::unique_ptr<TargetLoweringObjectFile> TLOF;
PPCABI TargetABI;
Endian Endianness = Endian::NOT_DETECTED;
+ mutable bool HasGlibcHWCAPAccess = false;
----------------
nemanjai wrote:
Target machine is not modifiable where we need to call `setGlibcHWCAPAccess()` - namely in `PPCInstrInfo`.
https://github.com/llvm/llvm-project/pull/68919
More information about the cfe-commits
mailing list