[all-commits] [llvm/llvm-project] 7397a0: [InstSimplify] Extract abs intrinsic tests into se...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Aug 12 13:30:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7397a019b80b1068249f82cd8d0b30510b1ea877
      https://github.com/llvm/llvm-project/commit/7397a019b80b1068249f82cd8d0b30510b1ea877
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M llvm/test/Transforms/InstCombine/abs-intrinsic.ll
    A llvm/test/Transforms/InstSimplify/abs_intrinsic.ll
    M llvm/test/Transforms/InstSimplify/call.ll

  Log Message:
  -----------
  [InstSimplify] Extract abs intrinsic tests into separate file (NFC)

Also move some tests from InstCombine to InstSimplify,
as they are already handled by InstSimplify.


  Commit: 6446c1184001ae7ec3ab83062a61661dc41fe29a
      https://github.com/llvm/llvm-project/commit/6446c1184001ae7ec3ab83062a61661dc41fe29a
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/abs_intrinsic.ll

  Log Message:
  -----------
  [InstSimplify] Add additional abs intrinsic icmp tests (NFC)

While abs >= 0 already folds, some variations thereon don't.


  Commit: eba5f5f79823d8fd50f9e1e7f143e3210cc01823
      https://github.com/llvm/llvm-project/commit/eba5f5f79823d8fd50f9e1e7f143e3210cc01823
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/abs-intrinsic.ll
    M llvm/test/Transforms/InstSimplify/abs_intrinsic.ll

  Log Message:
  -----------
  [ValueTracking] Add abs intrinsics support to computeConstantRange()

Implementation is the same as for SPF_ABS.


Compare: https://github.com/llvm/llvm-project/compare/eca4b4007d6b...eba5f5f79823


More information about the All-commits mailing list