Possible Typo in SelectionDAGLowering::visitShuffleVector

Hello

While building LLVM, the compiler (static analysis) is giving me a warning about “if (RangeUse[0] == 0 && RangeUse[0] == 0) {”.
Can somebody familar with the codebase look over it, maybe this should be “if (RangeUse[0] == 0 && RangeUse[1] == 0) {”, otherwise sorry for the noise.

Index: F:/dev/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp

That's not good. Looks like a major typo. Fixed. Thanks for catching it!

-bw

Hi,

Your fix looks good. Please commit.

Thanks,
-- Mon Ping