[all-commits] [llvm/llvm-project] 4dbe12: [SLP] Use the minimum alignment of the load bundle...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Wed Nov 18 03:55:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4dbe12e86649ba6b5f03a9ba97e84d718727f7a7
      https://github.com/llvm/llvm-project/commit/4dbe12e86649ba6b5f03a9ba97e84d718727f7a7
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/pr47623.ll

  Log Message:
  -----------
  [SLP] Use the minimum alignment of the load bundle when forming a masked.gather

Instead of the first load. That works when vectorizing contiguous loads,
but not for gathers.

Fixes a miscompile introduced in fcad8d3635cff61a2749dcef94c0d51fa1e3e413.




More information about the All-commits mailing list