[all-commits] [llvm/llvm-project] 1d424e: [NFC][ValueTracking] Hoist isValidAssumeForContext...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Fri May 5 02:49:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d424eead9c11d419e70174b76fca3612e302d72
      https://github.com/llvm/llvm-project/commit/1d424eead9c11d419e70174b76fca3612e302d72
  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:
  -----------
  [NFC][ValueTracking] Hoist isValidAssumeForContext out of switch

There is a lot of copy-paste-ish checks while this can be done once.

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




More information about the All-commits mailing list