[all-commits] [llvm/llvm-project] 1fd32d: [libc] Add [l|ll]abs implementation.

ChennngWang via All-commits all-commits at lists.llvm.org
Thu Dec 10 17:30:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fd32dcb294e16781fcfcf1a468180d00cf1e3ca
      https://github.com/llvm/llvm-project/commit/1fd32dcb294e16781fcfcf1a468180d00cf1e3ca
  Author: Cheng Wang <chennngwang at gmail.com>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/spec.td
    M libc/spec/stdc.td
    M libc/src/stdlib/CMakeLists.txt
    A libc/src/stdlib/abs.cpp
    A libc/src/stdlib/abs.h
    A libc/src/stdlib/abs_utils.h
    A libc/src/stdlib/labs.cpp
    A libc/src/stdlib/labs.h
    A libc/src/stdlib/llabs.cpp
    A libc/src/stdlib/llabs.h
    M libc/test/src/stdlib/CMakeLists.txt
    A libc/test/src/stdlib/abs_test.cpp
    A libc/test/src/stdlib/labs_test.cpp
    A libc/test/src/stdlib/llabs_test.cpp

  Log Message:
  -----------
  [libc] Add [l|ll]abs implementation.

Implement abs, labs and llabs with template.

Reviewed By: sivachandra

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




More information about the All-commits mailing list