[all-commits] [llvm/llvm-project] 11446b: [VectorCombine] Fix for non-zero addrspace when cr...

Björn Pettersson via All-commits all-commits at lists.llvm.org
Thu Aug 13 09:26:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 11446b02c7ec258a55de0259c3447d9ce5d5ac63
      https://github.com/llvm/llvm-project/commit/11446b02c7ec258a55de0259c3447d9ce5d5ac63
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2020-08-13 (Thu, 13 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/X86/load.ll

  Log Message:
  -----------
  [VectorCombine] Fix for non-zero addrspace when creating vector load from scalar load

This is a fixup to commit 43bdac290663f4424f9fb, to make sure the
address space from the original load pointer is retained in the
vector pointer.

Resolves problem with
  Assertion `castIsValid(op, S, Ty) && "Invalid cast!"' failed.
due to address space mismatch.

Reviewed By: spatel

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




More information about the All-commits mailing list