[all-commits] [llvm/llvm-project] 2e3f46: [IR] Add GEPOperator::indices() (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jul 9 12:41:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e3f4694d61dd50c8ec1278331edee84a60555f8
      https://github.com/llvm/llvm-project/commit/2e3f4694d61dd50c8ec1278331edee84a60555f8
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
    M llvm/include/llvm/IR/Operator.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [IR] Add GEPOperator::indices() (NFC)

In order to mirror the GetElementPtrInst::indices() API.

Wanted to use this in the IRForTarget code, and was surprised to
find that it didn't exist yet.




More information about the All-commits mailing list