[all-commits] [llvm/llvm-project] 7c9230: [RISCV] Add trunc instruction to the __builtin_ris...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu Jul 6 00:55:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c9230c4f2ad267c716520fb25c4037acd2204fd
https://github.com/llvm/llvm-project/commit/7c9230c4f2ad267c716520fb25c4037acd2204fd
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-07-06 (Thu, 06 Jul 2023)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-xtheadbb.c
M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbb.c
Log Message:
-----------
[RISCV] Add trunc instruction to the __builtin_riscv_ctz_64/__builtin_riscv_clz_64 IR.
These builtins were recently changed to return 'int' like the
similar __builtin_clz/__builtin_ctz builtins, but the IR generation
was not updated to use a truncate.
More information about the All-commits
mailing list