https://github.com/ilinpv approved this pull request.
https://github.com/llvm/llvm-project/pull/80152
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/ilinpv edited https://github.com/llvm/llvm-project/pull/75636
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -0,0 +1,69 @@
+#include
+#if TARGET_OS_OSX || TARGET_OS_IPHONE
+#include
+#include
+
+static bool isKnownAndSupported(const char *name) {
+ int32_t val = 0;
+ size_t size = sizeof(val);
+ if (sysctlbyname(name, , , NULL, 0))
+return false;
+ return val;
+}
+
+void
@@ -0,0 +1,69 @@
+#include
+#if TARGET_OS_OSX || TARGET_OS_IPHONE
+#include
+#include
+
+static bool isKnownAndSupported(const char *name) {
+ int32_t val = 0;
+ size_t size = sizeof(val);
+ if (sysctlbyname(name, , , NULL, 0))
+return false;
+ return val;
+}
+
+void
https://github.com/ilinpv approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/73688
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/ilinpv approved this pull request.
LGTM, thanks for adding Darwin support to cpu features detection!
https://github.com/llvm/llvm-project/pull/73685
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
Author: Pavel Iliin
Date: 2021-03-01T17:36:24Z
New Revision: 98f06b16a313ece593f5711778d7da9037f3a2ef
URL:
https://github.com/llvm/llvm-project/commit/98f06b16a313ece593f5711778d7da9037f3a2ef
DIFF:
https://github.com/llvm/llvm-project/commit/98f06b16a313ece593f5711778d7da9037f3a2ef.diff
LOG:
Author: Pavel Iliin
Date: 2020-12-07T00:28:09Z
New Revision: 377ba7be933fe5012a0b096c6995f2c1d7776729
URL:
https://github.com/llvm/llvm-project/commit/377ba7be933fe5012a0b096c6995f2c1d7776729
DIFF:
https://github.com/llvm/llvm-project/commit/377ba7be933fe5012a0b096c6995f2c1d7776729.diff
LOG:
Author: Pavel Iliin
Date: 2020-12-02T20:07:12Z
New Revision: a4ac434c47434d80bca54bab96f295ed4e972cc6
URL:
https://github.com/llvm/llvm-project/commit/a4ac434c47434d80bca54bab96f295ed4e972cc6
DIFF:
https://github.com/llvm/llvm-project/commit/a4ac434c47434d80bca54bab96f295ed4e972cc6.diff
LOG: