[clang] 8123e2e - [RISCV][Clang] Add attrs to crc32_d/crc32c_d

Ben Shi via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 15 00:40:22 PST 2022


Author: Chenbing.Zheng
Date: 2022-01-15T08:40:09Z
New Revision: 8123e2ed7490440693ed69d00618aa4f13e70b50

URL: https://github.com/llvm/llvm-project/commit/8123e2ed7490440693ed69d00618aa4f13e70b50
DIFF: https://github.com/llvm/llvm-project/commit/8123e2ed7490440693ed69d00618aa4f13e70b50.diff

LOG: [RISCV][Clang] Add attrs to crc32_d/crc32c_d

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D117380

Added: 
    

Modified: 
    clang/include/clang/Basic/BuiltinsRISCV.def

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/BuiltinsRISCV.def b/clang/include/clang/Basic/BuiltinsRISCV.def
index 81774d984af93..568ab0bbaec78 100644
--- a/clang/include/clang/Basic/BuiltinsRISCV.def
+++ b/clang/include/clang/Basic/BuiltinsRISCV.def
@@ -58,8 +58,8 @@ TARGET_BUILTIN(__builtin_riscv_crc32_w, "LiLi", "nc", "experimental-zbr")
 TARGET_BUILTIN(__builtin_riscv_crc32c_b, "LiLi", "nc", "experimental-zbr")
 TARGET_BUILTIN(__builtin_riscv_crc32c_h, "LiLi", "nc", "experimental-zbr")
 TARGET_BUILTIN(__builtin_riscv_crc32c_w, "LiLi", "nc", "experimental-zbr")
-TARGET_BUILTIN(__builtin_riscv_crc32_d, "LiLi", "nc", "experimental-zbr")
-TARGET_BUILTIN(__builtin_riscv_crc32c_d, "LiLi", "nc", "experimental-zbr")
+TARGET_BUILTIN(__builtin_riscv_crc32_d, "LiLi", "nc", "experimental-zbr,64bit")
+TARGET_BUILTIN(__builtin_riscv_crc32c_d, "LiLi", "nc", "experimental-zbr,64bit")
 
 #undef BUILTIN
 #undef TARGET_BUILTIN


        


More information about the cfe-commits mailing list