diff options
| author | 2018-03-16 15:00:19 -0700 | |
|---|---|---|
| committer | 2018-05-31 16:21:06 -0700 | |
| commit | b97fbe5a636745110529aced389b251d59ab2fd6 (patch) | |
| tree | c99256be2441f3a55a1debe0508411ce4c0288bd /compiler/optimizing/nodes_vector.h | |
| parent | 724e9c8cdb75cd606fe583fd2502783046d62796 (diff) | |
Minor DCHECK bug fix.
Rationale:
Should use the utility to test for SIMD result,
Test: 623
Bug: b/80497244
(cherry picked from commit 5a0eb0cbeeabda48bfef05df9f59a6fd607e1a1e)
Change-Id: I2966efea643eb7292c59f4f3e9b8725f0792d689
Diffstat (limited to 'compiler/optimizing/nodes_vector.h')
| -rw-r--r-- | compiler/optimizing/nodes_vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes_vector.h b/compiler/optimizing/nodes_vector.h index 0d38d57375..e96682550a 100644 --- a/compiler/optimizing/nodes_vector.h +++ b/compiler/optimizing/nodes_vector.h @@ -325,7 +325,7 @@ class HVecReplicateScalar FINAL : public HVecUnaryOperation { uint32_t dex_pc) : HVecUnaryOperation( kVecReplicateScalar, allocator, scalar, packed_type, vector_length, dex_pc) { - DCHECK(!scalar->IsVecOperation()); + DCHECK(!ReturnsSIMDValue(scalar)); } // A replicate needs to stay in place, since SIMD registers are not |