[PATCH] D99079: [ARM][AArch64] Require appropriate features for crypto algorithms

Ryan Santhirarajan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 14 11:58:26 PDT 2021


rsanthir.quic added inline comments.


================
Comment at: clang/lib/Basic/Targets/AArch64.h:36
+  bool HasSHA3;
+  bool HasSM4;
   bool HasUnaligned;
----------------
Would it make sense to further differentiate SM3 and SM4? I see that we differentiate between the two in arm_neon.td ("ARM_FEATURE_SM3" & "ARM_FEATURE_SM4") but we don't include this differentiation as flags (only HasSM4, +sm4 etc)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99079



More information about the cfe-commits mailing list