mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 04:09:04 +00:00
When combining (vextract shuffle (load ), <1,u,u,u>), 0) -> (load ), add users of the final load to the worklist too. Needed by changes I'm preparing to make to X86 backend.
llvm-svn: 153078
This commit is contained in:
parent
fea2d0f83a
commit
6bea69c868
@ -7353,6 +7353,7 @@ SDValue DAGCombiner::visitEXTRACT_VECTOR_ELT(SDNode *N) {
|
||||
// Since we're explcitly calling ReplaceAllUses, add the new node to the
|
||||
// worklist explicitly as well.
|
||||
AddToWorkList(Load.getNode());
|
||||
AddUsersToWorkList(Load.getNode()); // Add users too
|
||||
// Make sure to revisit this node to clean it up; it will usually be dead.
|
||||
AddToWorkList(N);
|
||||
return SDValue(N, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user