[all-commits] [llvm/llvm-project] 7d9f03: [InstSimplify] Add tests for PR62760 (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 17 03:31:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d9f03f4d8e1d59da267a863e0018f2e172ca0f9
      https://github.com/llvm/llvm-project/commit/7d9f03f4d8e1d59da267a863e0018f2e172ca0f9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-17 (Wed, 17 May 2023)

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

  Log Message:
  -----------
  [InstSimplify] Add tests for PR62760 (NFC)


  Commit: 9b7616856cbdd476aaf4553ccc74ab8c38c5f6ad
      https://github.com/llvm/llvm-project/commit/9b7616856cbdd476aaf4553ccc74ab8c38c5f6ad
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstSimplify/abs_intrinsic.ll
    M llvm/test/Transforms/InstSimplify/call.ll

  Log Message:
  -----------
  [ValueTracking] Fix i1 abs range (PR62760)

For i1 operations, we may end up returning an empty range instead
of a full one. Make sure to use the getNonEmpty constructor.

Fixes https://github.com/llvm/llvm-project/issues/62760.


Compare: https://github.com/llvm/llvm-project/compare/16f49ea2a2fb...9b7616856cbd


More information about the All-commits mailing list