[all-commits] [llvm/llvm-project] 8aeb84: [ValueTracking] Switch over opcode in isKnownToBeA...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Aug 7 07:34:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8aeb84c1b63f4c3bdc43061514dae015471a24c6
      https://github.com/llvm/llvm-project/commit/8aeb84c1b63f4c3bdc43061514dae015471a24c6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

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

  Log Message:
  -----------
  [ValueTracking] Switch over opcode in isKnownToBeAPowerOfTwo() (NFC)

Similar to the other ValueTracking function, switch over the
instruction opcode instead of doing a long sequence of match()es.




More information about the All-commits mailing list