SuccessChanges

Summary

  1. [SLP] use switch to improve readability; NFC (details)
  2. [SLP] rename reduction variables for readability; NFC (details)
Commit c4ca108966926871a7e2bf362b1816be88a99162 by spatel
[SLP] use switch to improve readability; NFC

This will get more complicated when we handle intrinsics like maxnum.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit badf0f20f3b3e8f8f06d6c632d2c9fc8e509fd25 by spatel
[SLP] rename reduction variables for readability; NFC

I am hoping to extend the reduction matching code, and it is
hard to distinguish "ReductionData" from "ReducedValueData".
So extend the tree/root metaphor to include leaves.

Another problem is that the name "OperationData" does not
provide insight into its purpose. I'm not sure if we can alter
that underlying data structure to make the code clearer.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp