[X86] Place parentheses around "isMask_32(STReturns) && N <= 2".
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 4 Aug 2014 17:23:38 +0000 (17:23 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 4 Aug 2014 17:23:38 +0000 (17:23 +0000)
This corrects r214672, which was committed to silence a gcc warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214732 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86FloatingPoint.cpp

index 7b0a5d3d49b7a0f94f0f2bc5b16b18efc4cc2ce0..f23d20448f6aa9adb2d337c2f5a261355d9303dd 100644 (file)
@@ -946,7 +946,7 @@ void FPS::handleCall(MachineBasicBlock::iterator &I) {
 
   // FP registers used for function return must be consecutive starting at
   // FP0.
-  assert((STReturns == 0 || isMask_32(STReturns)) && N <= 2);
+  assert(STReturns == 0 || (isMask_32(STReturns) && N <= 2));
 
   for (unsigned I = 0; I < N; ++I)
     pushReg(N - I - 1);