diff --git a/clang/lib/Headers/riscv_crypto.h b/clang/lib/Headers/riscv_crypto.h index 1c938c60b58ad..7cd2a708f5575 100644 --- a/clang/lib/Headers/riscv_crypto.h +++ b/clang/lib/Headers/riscv_crypto.h @@ -57,7 +57,7 @@ __riscv_aes64esm(uint64_t __x, uint64_t __y) { return __builtin_riscv_aes64esm(__x, __y); } #endif -#endif // defined(__riscv_zknd) +#endif // defined(__riscv_zkne) #if defined(__riscv_zknd) || defined(__riscv_zkne) #if __riscv_xlen == 64 @@ -161,7 +161,7 @@ __riscv_sm3p1(uint32_t __x) { #if defined(__riscv_zksed) #define __riscv_sm4ed(x, y, bs) __builtin_riscv_sm4ed(x, y, bs); #define __riscv_sm4ks(x, y, bs) __builtin_riscv_sm4ks(x, y, bs); -#endif // defined(__riscv_zksh) +#endif // defined(__riscv_zksed) #if defined(__cplusplus) }