[all-commits] [llvm/llvm-project] 55cf09: [ValueTracking] Simplify llvm::isPointerOffset()

aeubanks via All-commits all-commits at lists.llvm.org
Mon Mar 14 09:32:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55cf09ae2600066045ad9f9d81b330bc4d52b7e4
      https://github.com/llvm/llvm-project/commit/55cf09ae2600066045ad9f9d81b330bc4d52b7e4
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-03-14 (Mon, 14 Mar 2022)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/MemCpyOpt/opaque-ptr.ll

  Log Message:
  -----------
  [ValueTracking] Simplify llvm::isPointerOffset()

We still need the code after stripAndAccumulateConstantOffsets() since
it doesn't handle GEPs of scalable types and non-constant but identical
indexes.

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




More information about the All-commits mailing list