[all-commits] [llvm/llvm-project] 02885e: [ConstraintElim] Use GEPOperator instead of GetEle...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 24 12:16:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02885ef3e406ec66fab341e2b98a6fdc8d11322f
      https://github.com/llvm/llvm-project/commit/02885ef3e406ec66fab341e2b98a6fdc8d11322f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/gep-constexpr.ll

  Log Message:
  -----------
  [ConstraintElim] Use GEPOperator instead of GetElementPtrInst.

The logic in ConstraintElimination should trivially apply to GEP
constant expressions as well, so update code to deal with GEPOperator
instead.




More information about the All-commits mailing list