From 93a454952b45838cf47ec2e640b992d294c79ac6 Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Mon, 4 Aug 2014 17:23:38 +0000 Subject: [PATCH] [X86] Place parentheses around "isMask_32(STReturns) && N <= 2". 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86FloatingPoint.cpp b/lib/Target/X86/X86FloatingPoint.cpp index 7b0a5d3d49b..f23d20448f6 100644 --- a/lib/Target/X86/X86FloatingPoint.cpp +++ b/lib/Target/X86/X86FloatingPoint.cpp @@ -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);