[all-commits] [llvm/llvm-project] 5459d0: [PowerPC] Fix single-use check and update chain us...
Nemanja Ivanovic via All-commits
all-commits at lists.llvm.org
Tue Oct 27 14:50:15 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5459d08795e370321beb9e50c3b73e9fcd2dd7de
https://github.com/llvm/llvm-project/commit/5459d08795e370321beb9e50c3b73e9fcd2dd7de
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2020-10-27 (Tue, 27 Oct 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
A llvm/test/CodeGen/PowerPC/pr47891.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list