[all-commits] [llvm/llvm-project] 258074: [ArgumentPromotion] Remove unnecessary getScalarTy...

topperc via All-commits all-commits at lists.llvm.org
Wed Apr 22 22:52:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 25807452ac1bca643bdc00f7555e9cad03097b0e
      https://github.com/llvm/llvm-project/commit/25807452ac1bca643bdc00f7555e9cad03097b0e
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-04-22 (Wed, 22 Apr 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp

  Log Message:
  -----------
  [ArgumentPromotion] Remove unnecessary getScalarType() before casting to PointerType. NFC

I don't believe this pass deals with vectors of pointers. I think
this getScalarType() was added during a mechanical opaque pointer
change of the interface to GetElementPtrInst::getIndexedType.




More information about the All-commits mailing list