[all-commits] [llvm/llvm-project] 7a834a: [SVE] Fix scalable vector bug in DataLayout::getIn...

david-arm via All-commits all-commits at lists.llvm.org
Thu Jun 25 23:59:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a834a0a4ee36726df989702c44711a0ef13ec25
      https://github.com/llvm/llvm-project/commit/7a834a0a4ee36726df989702c44711a0ef13ec25
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-06-26 (Fri, 26 Jun 2020)

  Changed paths:
    M llvm/lib/IR/DataLayout.cpp
    M llvm/test/Transforms/InstCombine/vector_gep1.ll

  Log Message:
  -----------
  [SVE] Fix scalable vector bug in DataLayout::getIntPtrType

Fixed an issue in DataLayout::getIntPtrType where we were assuming
the input type was always a fixed vector type, which isn't true.

Added a test that exposed the problem to:

  Transforms/InstCombine/vector_gep1.ll

Differential Revision: https://reviews.llvm.org/D82294




More information about the All-commits mailing list