This should restore GCC hosts (which happen to put the bad stuff into
the pointer) and MSan, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212606
91177308-0d34-0410-b5e6-
96231b3b80d8
// The right side has to be a 'trunc' or a constant vector.
bool RHSTrunc = N1.getOpcode() == ISD::TRUNCATE;
- ConstantSDNode *RHSConstSplat;
+ ConstantSDNode *RHSConstSplat = nullptr;
if (auto *RHSBV = dyn_cast<BuildVectorSDNode>(N1))
RHSConstSplat = RHSBV->getConstantSplatNode();
if (!RHSTrunc && !RHSConstSplat)