summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Analysis
diff options
context:
space:
mode:
authorChristian Sigg <csigg@google.com>2019-09-23 02:33:51 -0700
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-09-23 02:34:27 -0700
commitc900d4994e609ac0f4730d0cdd918eae958e9d28 (patch)
tree27e76662e3d09ab7d7ba79dc09d7c98faf239d9e /mlir/lib/Analysis
parentf1442f1eff482ff1d331e0f9871590063e7546bd (diff)
downloadbcm5719-llvm-c900d4994e609ac0f4730d0cdd918eae958e9d28.tar.gz
bcm5719-llvm-c900d4994e609ac0f4730d0cdd918eae958e9d28.zip
Fix a number of Clang-Tidy warnings.
PiperOrigin-RevId: 270632324
Diffstat (limited to 'mlir/lib/Analysis')
-rw-r--r--mlir/lib/Analysis/AffineStructures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Analysis/AffineStructures.cpp b/mlir/lib/Analysis/AffineStructures.cpp
index 18ffc21f10e..3feb15b60cb 100644
--- a/mlir/lib/Analysis/AffineStructures.cpp
+++ b/mlir/lib/Analysis/AffineStructures.cpp
@@ -2632,7 +2632,7 @@ void FlatAffineConstraints::FourierMotzkinEliminate(
LLVM_DEBUG(llvm::dbgs() << "FM isResultIntegerExact: " << (lcmProducts == 1)
<< "\n");
if (lcmProducts == 1 && isResultIntegerExact)
- *isResultIntegerExact = 1;
+ *isResultIntegerExact = true;
// Copy over the constraints not involving this variable.
for (auto nbPos : nbIndices) {
OpenPOWER on IntegriCloud