]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Apply llvm fix for hanging gcc builds on 32-bit arm
authorDimitry Andric <dim@FreeBSD.org>
Mon, 19 Jun 2023 18:32:40 +0000 (20:32 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Wed, 28 Jun 2023 17:59:58 +0000 (19:59 +0200)
commit1706d72e36a03da4e5c2bd166362dabf8f2b1d6a
treec2409f31e24654b7e88cb2330da75e3a358db3d3
parent0da2f02c1b2a2fb0daca8625a1992ee3a0426f44
Apply llvm fix for hanging gcc builds on 32-bit arm

Merge commit 962c306a11d0 from llvm-project (by Florian Hahn):

  [LV] Don't consider pointer as uniform if it is also stored.

  Update isVectorizedMemAccessUse to also check if the pointer is stored.
  This prevents LV to incorrectly consider a pointer as uniform if it is
  used as both pointer and stored by the same StoreInst.

  Fixes #61396.

PR: 271992
Reported by: John F. Carr <jfc@mit.edu>
MFC after: 3 days

(cherry picked from commit dbbaf77801a8f30e49731395e85757f339f345bf)
contrib/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp