diff options
| author | Christian Sigg <csigg@google.com> | 2019-09-23 02:33:51 -0700 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-09-23 02:34:27 -0700 |
| commit | c900d4994e609ac0f4730d0cdd918eae958e9d28 (patch) | |
| tree | 27e76662e3d09ab7d7ba79dc09d7c98faf239d9e /mlir/lib/Analysis | |
| parent | f1442f1eff482ff1d331e0f9871590063e7546bd (diff) | |
| download | bcm5719-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.cpp | 2 |
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) { |

