[all-commits] [llvm/llvm-project] 1903a1: [InstCombine] Add tests for cttz of abs intrinsic ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Sep 5 03:27:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1903a1afd947603bea37c40e249c7caa26087258
      https://github.com/llvm/llvm-project/commit/1903a1afd947603bea37c40e249c7caa26087258
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-09-05 (Sat, 05 Sep 2020)

  Changed paths:
    M llvm/test/Transforms/InstCombine/cttz-abs.ll

  Log Message:
  -----------
  [InstCombine] Add tests for cttz of abs intrinsic (NFC)


  Commit: 10cb23c6ca451374ebe2f31add236692e01637f3
      https://github.com/llvm/llvm-project/commit/10cb23c6ca451374ebe2f31add236692e01637f3
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-09-05 (Sat, 05 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/cttz-abs.ll

  Log Message:
  -----------
  [InstCombine] Fold cttz of abs intrinsic

Same as the existing fold for SPF_ABS. We don't need to explicitly
handle the NABS variant, as we'll first fold away the neg in that
case.


Compare: https://github.com/llvm/llvm-project/compare/d401e376e464...10cb23c6ca45


More information about the All-commits mailing list