summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2014-08-04 17:23:38 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2014-08-04 17:23:38 +0000
commite457f3e17a2aaae93dcbe4ec9a68d2f81f521f5e (patch)
tree84b2ce2fa591fb5a2d52e572ef4445b9daca4cc8 /llvm/lib
parent7405210418894c3f6f339130e756334e5d59ea37 (diff)
downloadbcm5719-llvm-e457f3e17a2aaae93dcbe4ec9a68d2f81f521f5e.tar.gz
bcm5719-llvm-e457f3e17a2aaae93dcbe4ec9a68d2f81f521f5e.zip
[X86] Place parentheses around "isMask_32(STReturns) && N <= 2".
This corrects r214672, which was committed to silence a gcc warning. llvm-svn: 214732
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86FloatingPoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp
index 7b0a5d3d49b..f23d20448f6 100644
--- a/llvm/lib/Target/X86/X86FloatingPoint.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud