[SelectionDAG] Remove some code from PromoteIntOp_MGATHER that handles UpdateNodeOper...
authorCraig Topper <craig.topper@intel.com>
Wed, 12 Sep 2018 05:25:41 +0000 (05:25 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 12 Sep 2018 05:25:41 +0000 (05:25 +0000)
commit26a37998588f673ef1e3fc4a126f2a0963dad6bb
tree6d9dac64695f722defc0a60564a9dcfc91cef93e
parent8f2499f804d81d4148dea9d3890dc8b48dcd0334
[SelectionDAG] Remove some code from PromoteIntOp_MGATHER that handles UpdateNodeOperands returning an existing node instead of updating.

I suspect this became unecessary when the CSE of mgather was fixed in r338080. It may still be possible to hit this if we widen the element type of a gather outside of type legalization and the promote the mask of a separate gather node so they become the same. But that seems pretty unlikely.

llvm-svn: 342022
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp