[all-commits] [llvm/llvm-project] d2502e: [KnownBits] Add support for nuw/nsw on shifts

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu May 25 01:17:27 PDT 2023


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

  Changed paths:
    M llvm/include/llvm/Support/KnownBits.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Support/KnownBits.cpp
    M llvm/test/Transforms/ConstraintElimination/geps-unsigned-predicates.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
    M llvm/unittests/Support/KnownBitsTest.cpp

  Log Message:
  -----------
  [KnownBits] Add support for nuw/nsw on shifts

Implement precise nuw/nsw support in the KnownBits implementation,
replacing the rather crude handling in ValueTracking.

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




More information about the All-commits mailing list