[all-commits] [llvm/llvm-project] 83a87b: [IR] Restore vector support for deprecated CreateG...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jul 8 09:16:14 PDT 2021


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

  Changed paths:
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/include/llvm/IR/Instructions.h

  Log Message:
  -----------
  [IR] Restore vector support for deprecated CreateGEP methods

As pointed out in post-commit review on rG8e22539067d9, it's
necessary to call getScalarType() to support GEPs with a vector
base. Dropping that call was an oversight on my side.




More information about the All-commits mailing list