Use APInt::isOne instead of APInt::isOneValue (NFC)
authorKazu Hirata <kazu@google.com>
Mon, 20 Feb 2023 07:06:36 +0000 (23:06 -0800)
committerKazu Hirata <kazu@google.com>
Mon, 20 Feb 2023 07:06:36 +0000 (23:06 -0800)
commit9e5d2495acbcc20efa22759c4b7b4a2da8079eef
tree381332883a0fbb93321177739a1d8a120d187c81
parentb7ffd9686ddf6bc4d8006f76acd55ac0a43a8ec7
Use APInt::isOne instead of APInt::isOneValue (NFC)

Note that isOneValue has been soft-deprecated in favor of isOne.
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
mlir/lib/Dialect/SCF/IR/SCF.cpp
mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
mlir/lib/IR/BuiltinAttributes.cpp