compnerd added inline comments.

================
Comment at: clang/lib/Headers/arm_acle.h:150
+__clsl(unsigned long __t) {
+#if __SIZEOF_LONG__ == 4
+  return __builtin_arm_cls(__t);
----------------
I don't see a pattern match for the `cls64` on ARM32, would that not fail to 
lower?


================
Comment at: clang/lib/Headers/arm_acle.h:155
+#endif
+}
+
----------------
Should we have a `__clsll` extension, otherwise these two are the same in 
LLP64?  I'm thinking about the LLP64 environments, where `long` and `long long` 
are different (32-bit vs 64-bit).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69250/new/

https://reviews.llvm.org/D69250



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to