[all-commits] [llvm/llvm-project] 6d2df1: [VectorComine] Restrict single-element-store index...
Qiu Chaofan via All-commits
all-commits at lists.llvm.org
Tue May 11 22:21:48 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d2df181638a34f5d4ebc0c92cfb6a30abf8588d
https://github.com/llvm/llvm-project/commit/6d2df181638a34f5d4ebc0c92cfb6a30abf8588d
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/load-insert-store.ll
Log Message:
-----------
[VectorComine] Restrict single-element-store index to inbounds constant
Vector single element update optimization is landed in 2db4979. But the
scope needs restriction. This patch restricts the index to inbounds and
vector must be fixed sized. In future, we may use value tracking to
relax constant restrictions.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D102146
More information about the All-commits
mailing list