Use getConstantOperandAPInt(Num) instead of cast<ConstantSDNode>(N->getOperand(Num))->getAPIntValue()
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D131653
[LegalizeTypes][NFC] Use getConstantOperandAPInt instead of cast constant getAPInt ClosedPublic Authored by Jimerlife on Aug 10 2022, 11:36 PM.
Details Summary Use getConstantOperandAPInt(Num) instead of cast<ConstantSDNode>(N->getOperand(Num))->getAPIntValue()
Diff Detail
Event TimelineJimerlife marked 2 inline comments as done. This revision is now accepted and ready to land.Aug 11 2022, 3:48 AM Closed by commit rG3b71f1d5abaa: [LegalizeTypes][NFC] Use getConstantOperandAPInt instead of cast constant… (authored by Jimerlife). · Explain WhyAug 11 2022, 7:22 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 452056 llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
|
const APInt &