[all-commits] [llvm/llvm-project] daf32b: [IndVars] Support opaque pointers in LFTR

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 27 03:33:07 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: daf32b13d7009e4c53cad71132564f49bac61cb7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-27 (Mon, 27 Dec 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
    A llvm/test/Transforms/IndVarSimplify/lftr-opaque-pointers.ll

  Log Message:
  [IndVars] Support opaque pointers in LFTR

Remove the assertion about the pointer element type, only check
that the stride is one. Ultimately, the actual pointer type here
doesn't matter, because SCEVExpander would insert appropriate
casts if necessary.

More information about the All-commits mailing list