[DAGCombiner] Fix a couple mistakes from r324311 by really passing the original load...
authorCraig Topper <craig.topper@intel.com>
Thu, 8 Feb 2018 06:27:18 +0000 (06:27 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 8 Feb 2018 06:27:18 +0000 (06:27 +0000)
commitc19aed963e9eb4986f3c6cbec1bf08e63d56a367
tree68db454698c4ccb72232e3be6001dcf6eb437d96
parent9b9d5274274353ba879aa84741acccda33dbf1cc
[DAGCombiner] Fix a couple mistakes from r324311 by really passing the original load to ExtendSetCCUses.

We're passing the binary op that uses the load instead of the load.

Noticed by inspection. Not sure how to test this because this just prevents the introduction of an extend that will later be truncated and will probably be combined out.

llvm-svn: 324568
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp