[all-commits] [llvm/llvm-project] 4bcd25: [compiler-rt][builtins] Use c[tl]zsi macro instead...

Anatoly Trosinenko via All-commits all-commits at lists.llvm.org
Sun Jan 30 12:06:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bcd2588a9869791e5e2232e0454cc1648a786d4
      https://github.com/llvm/llvm-project/commit/4bcd2588a9869791e5e2232e0454cc1648a786d4
  Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
  Date:   2022-01-30 (Sun, 30 Jan 2022)

  Changed paths:
    M compiler-rt/lib/builtins/floatsisf.c
    M compiler-rt/lib/builtins/floatsitf.c
    M compiler-rt/lib/builtins/floatunsisf.c
    M compiler-rt/lib/builtins/floatunsitf.c
    M compiler-rt/lib/builtins/fp_extend.h
    M compiler-rt/lib/builtins/udivmoddi4.c

  Log Message:
  -----------
  [compiler-rt][builtins] Use c[tl]zsi macro instead of __builtin_c[tl]z

`__builtin_c[tl]z` accepts `unsigned int` argument that is not always the
same as uint32_t. For example, `unsigned int` is uint16_t on MSP430.

Reviewed By: aykevl

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




More information about the All-commits mailing list