[llvm] [clang] [PowerPC][X86] Make cpu id builtins target independent and lower for PPC (PR #68919)

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 11:29:28 PST 2024


================
@@ -210,6 +210,15 @@ let TargetPrefix = "ppc" in {  // All intrinsics start with "llvm.ppc.".
             [llvm_float_ty],
             [llvm_float_ty, llvm_float_ty, llvm_float_ty, llvm_vararg_ty],
             [IntrNoMem]>;
+  // Load of a value provided by the system library at a fixed address. Used for
+  // accessing things like HWCAP word provided by GLIBC. The immediate argument
----------------
nemanjai wrote:

I'm fine with both of these suggestions.

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


More information about the llvm-commits mailing list