diff options
author | 2017-08-30 21:21:41 +0000 | |
---|---|---|
committer | 2017-08-30 21:21:41 +0000 | |
commit | a57b4ee7b15ce6abfb5fa88c8dc8a516fe40e0d9 (patch) | |
tree | c7ed7e8cb7439a8e689e399e34559aa46a97cdbd /compiler/optimizing/nodes.h | |
parent | 9879d0eac8fe2aae19ca6a4a2a83222d6383afc2 (diff) |
Revert "Basic SIMD reduction support."
This reverts commit 9879d0eac8fe2aae19ca6a4a2a83222d6383afc2.
Getting these type check failures in some builds. Need time to look at this better, so reverting for now :-(
dex2oatd F 08-30 21:14:29 210122 226218
code_generator.cc:115] Check failed: CheckType(instruction->GetType(), locations->InAt(0)) PrimDouble C
Change-Id: I1c1c87b6323e01442e8fbd94869ddc9e760ea1fc
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 869fdd4182..f60d532c37 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -1374,8 +1374,7 @@ class HLoopInformationOutwardIterator : public ValueObject { M(UShr, BinaryOperation) \ M(Xor, BinaryOperation) \ M(VecReplicateScalar, VecUnaryOperation) \ - M(VecExtractScalar, VecUnaryOperation) \ - M(VecReduce, VecUnaryOperation) \ + M(VecSumReduce, VecUnaryOperation) \ M(VecCnv, VecUnaryOperation) \ M(VecNeg, VecUnaryOperation) \ M(VecAbs, VecUnaryOperation) \ @@ -7031,17 +7030,6 @@ inline bool IsInt64AndGet(HInstruction* instruction, /*out*/ int64_t* value) { return false; } -// Returns true iff instruction is the given integral constant. -inline bool IsInt64Value(HInstruction* instruction, int64_t value) { - int64_t val = 0; - return IsInt64AndGet(instruction, &val) && val == value; -} - -// Returns true iff instruction is a zero bit pattern. -inline bool IsZeroBitPattern(HInstruction* instruction) { - return instruction->IsConstant() && instruction->AsConstant()->IsZeroBitPattern(); -} - #define INSTRUCTION_TYPE_CHECK(type, super) \ inline bool HInstruction::Is##type() const { return GetKind() == k##type; } \ inline const H##type* HInstruction::As##type() const { \ |