[all-commits] [llvm/llvm-project] 35b095: [ValueTracking] Added support to deduce PHI Nodes ...

William Junda Huang via All-commits all-commits at lists.llvm.org
Thu May 26 13:31:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35b0955aa59d3cf39678046ccff3728f6b7a91b0
      https://github.com/llvm/llvm-project/commit/35b0955aa59d3cf39678046ccff3728f6b7a91b0
  Author: William Huang <williamjhuang at google.com>
  Date:   2022-05-26 (Thu, 26 May 2022)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Analysis/ValueTracking/known-power-of-two-urem.ll

  Log Message:
  -----------
  [ValueTracking] Added support to deduce PHI Nodes values being a power of 2

Add Value Tracking support to deduce induction variable being a power of 2, allowing urem optimizations

Reviewed By: davidxl

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




More information about the All-commits mailing list