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

Amy Kwan via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 12 11:31:56 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
----------------
amy-kwan wrote:

Minor nits:
- Should it be `the HWCAP word`?
- We use GLIBC on this line but Glibc on line 217. I think it would be better if we were consistent and use one way of addressing GLIBC.

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


More information about the llvm-commits mailing list