From 5bf2686a1b0d1db83629087c29d7f8933f4f2dc2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 13 Apr 2005 03:29:53 +0000 Subject: [PATCH] Fix some mysteriously missing {}'s which cause the miscompilation of Olden/mst, Ptrdist/bc, Obsequi, etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21274 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelPattern.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/X86/X86ISelPattern.cpp b/lib/Target/X86/X86ISelPattern.cpp index 1dc6772d56b..949cda96882 100644 --- a/lib/Target/X86/X86ISelPattern.cpp +++ b/lib/Target/X86/X86ISelPattern.cpp @@ -2191,8 +2191,7 @@ unsigned ISel::SelectExpr(SDOperand N) { assert((N.getOpcode() != ISD::SREM || MVT::isInteger(N.getValueType())) && "We don't support this operator!"); - if (N.getOpcode() == ISD::SDIV) - + if (N.getOpcode() == ISD::SDIV) { // We can fold loads into FpDIVs, but not really into any others. if (N.getValueType() == MVT::f64) { // Check for reversed and unreversed DIV. @@ -2267,6 +2266,7 @@ unsigned ISel::SelectExpr(SDOperand N) { return Result; } } + } if (getRegPressure(N.getOperand(0)) > getRegPressure(N.getOperand(1))) { Tmp1 = SelectExpr(N.getOperand(0)); -- 2.11.0