[all-commits] [llvm/llvm-project] 7fbf72: [ValueTracking][NFC] Factor out computeKnownBitsFr...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Fri May 5 03:04:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fbf72a1012944b8c55681c3fa662645e1b9c422
      https://github.com/llvm/llvm-project/commit/7fbf72a1012944b8c55681c3fa662645e1b9c422
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2023-05-05 (Fri, 05 May 2023)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp

  Log Message:
  -----------
  [ValueTracking][NFC] Factor out computeKnownBitsFromCmp

Separate the part which is specific for assume intrinsic from the part which only requires an icmp,
so that the latter could be reused for other purposes (e.g. in dominating conditions).

Differential Revision: https://reviews.llvm.org/D149940
Reviewed By: nikic




More information about the All-commits mailing list