Parameter positions seem like they should be unsigned.
While there, make function names lowercase per coding standards.
Paths
| Differential D103224
[VP] Make getMaskParamPos/getVectorLengthParamPos return unsigned. Lowercase function names. ClosedPublic Authored by craig.topper on May 26 2021, 9:49 PM.
Details Summary Parameter positions seem like they should be unsigned. While there, make function names lowercase per coding standards.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 28 2021, 5:23 AM This revision was landed with ongoing or failed builds.May 28 2021, 11:44 AM Closed by commit rG2830d924b087: [VP] Make getMaskParamPos/getVectorLengthParamPos return unsigned. Lowercase… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 348562 llvm/include/llvm/IR/IntrinsicInst.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/IR/IntrinsicInst.cpp
llvm/unittests/IR/VPIntrinsicTest.cpp
|
You could fold this into the ifs if you wanted. Same in getVectorLengthParam