[all-commits] [llvm/llvm-project] df7121: [RISCV] Make __builtin_riscv_clz/ctz return an uns...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jul 14 11:14:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df71216d0301780de9dfc467745dd10843de4400
      https://github.com/llvm/llvm-project/commit/df71216d0301780de9dfc467745dd10843de4400
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsRISCV.def
    M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-xtheadbb.c
    M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbb.c
    M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-xtheadbb.c
    M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbb.c

  Log Message:
  -----------
  [RISCV] Make __builtin_riscv_clz/ctz return an unsigned int instead of signed int.

This is different than the target independent __builtin_clz/ctz, but
logically makes more sense.




More information about the All-commits mailing list