diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2020-10-27 16:43:11 -0500 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2020-10-27 16:49:38 -0500 |
commit | 5459d08795e370321beb9e50c3b73e9fcd2dd7de (patch) | |
tree | daabe5cee06b3ac699fe4ecc8476e52aa91956c7 /clang/lib/Basic/FileManager.cpp | |
parent | d981c7b7581efc3ef378709042100e75da0185a0 (diff) | |
download | llvm-5459d08795e370321beb9e50c3b73e9fcd2dd7de.zip llvm-5459d08795e370321beb9e50c3b73e9fcd2dd7de.tar.gz llvm-5459d08795e370321beb9e50c3b73e9fcd2dd7de.tar.bz2 |
[PowerPC] Fix single-use check and update chain users for ld-splat
When converting a BUILD_VECTOR or VECTOR_SHUFFLE to a splatting load
as of 1461fb6e783cb946b061f66689b419f74f7fad63, we inaccurately check
for a single user of the load and neglect to update the users of the
output chain of the original load. As a result, we can emit a new
load when the original load is kept and the new load can be reordered
after a dependent store. This patch fixes those two issues.
Fixes https://bugs.llvm.org/show_bug.cgi?id=47891
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions