OSDN Git Service

[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)
commita212024885708e1871b9bad06df3339541ecccc5
treeb53a78ef76aa0e6b21640e516e82696a36bc9277
parent479b4ab2b0e2c0fe05729b98684c3a526f77fde8
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342022 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp