[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:19 PST 2024


================
@@ -1830,6 +1830,10 @@ void PPCLinuxAsmPrinter::emitEndOfAsmFile(Module &M) {
   PPCTargetStreamer *TS =
       static_cast<PPCTargetStreamer *>(OutStreamer->getTargetStreamer());
 
+  if (static_cast<const PPCTargetMachine &>(TM).hasGlibcHWCAPAccess())
----------------
nemanjai wrote:

Ha ha, more as in "any"?

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


More information about the cfe-commits mailing list