[llvm] Skip getAPIntValue (NFC)
authorKazu Hirata <kazu@google.com>
Thu, 23 Mar 2023 05:10:25 +0000 (22:10 -0700)
committerKazu Hirata <kazu@google.com>
Thu, 23 Mar 2023 05:10:25 +0000 (22:10 -0700)
commit7bb6d1b32ea9972277201b7651086ab9faffc557
treea4e06f72c74e65d43de48c19cd50879462b61375
parent4524db7316b2db9a999b2894a047799dfb6c5cf6
[llvm] Skip getAPIntValue (NFC)

ConstantSDNode provides some convenience functions like isZero,
getZExtValue, and isMinSignedValue that are named identically to those
provided by APInt, so we can "skip" getAPIntValue.
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp