Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1047)

Unified Diff: src/compiler/s390/instruction-selector-s390.cc

Issue 2803663002: s390: fix s390 release for not generate mul opt (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/s390/instruction-selector-s390.cc
diff --git a/src/compiler/s390/instruction-selector-s390.cc b/src/compiler/s390/instruction-selector-s390.cc
index e1195f73d7dde417b5d80259a5763008784e6c9b..e3500ded71e4d32b8dff664e6fb01af109908a3a 100644
--- a/src/compiler/s390/instruction-selector-s390.cc
+++ b/src/compiler/s390/instruction-selector-s390.cc
@@ -1360,9 +1360,8 @@ static inline bool TryMatchInt32MulWithOverflow(InstructionSelector* selector,
Node* node) {
if (Node* ovf = NodeProperties::FindProjection(node, 1)) {
if (CpuFeatures::IsSupported(MISC_INSTR_EXT2)) {
- DCHECK(TryMatchInt32OpWithOverflow<kS390_Mul32>(
- selector, node,
- OperandMode::kAllowRRR | OperandMode::kAllowRM) == true);
+ TryMatchInt32OpWithOverflow<kS390_Mul32>(
+ selector, node, OperandMode::kAllowRRR | OperandMode::kAllowRM);
} else {
FlagsContinuation cont = FlagsContinuation::ForSet(kNotEqual, ovf);
VisitWord32BinOp(selector, node, kS390_Mul32WithOverflow,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698