[all-commits] [llvm/llvm-project] dc866a: [ValueTracking] Move the `isSignBitCheck` helper i...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Tue Feb 13 23:33:19 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc866ae49e9d461c836a113472ea3ff314bb4a80
      https://github.com/llvm/llvm-project/commit/dc866ae49e9d461c836a113472ea3ff314bb4a80
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

  Log Message:
  -----------
  [ValueTracking] Move the `isSignBitCheck` helper into ValueTracking. NFC. (#81704)

This patch moves the `isSignBitCheck` helper into ValueTracking to reuse
the logic in ValueTracking/InstSimplify.

Addresses the comment
https://github.com/llvm/llvm-project/pull/80740#discussion_r1488440050.




More information about the All-commits mailing list