Use getConstantOperandAPInt(Num) instead of cast<ConstantSDNode>(N->getOperand(Num))->getAPIntValue()
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Differential D131653
[LegalizeTypes][NFC] Use getConstantOperandAPInt instead of cast constant getAPInt Jimerlife on Aug 10 2022, 11:36 PM. Authored by
Details Use getConstantOperandAPInt(Num) instead of cast<ConstantSDNode>(N->getOperand(Num))->getAPIntValue()
Diff Detail
Unit Tests Event Timeline |
const APInt &