diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2014-08-04 17:23:38 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2014-08-04 17:23:38 +0000 |
commit | e457f3e17a2aaae93dcbe4ec9a68d2f81f521f5e (patch) | |
tree | 84b2ce2fa591fb5a2d52e572ef4445b9daca4cc8 /llvm/lib | |
parent | 7405210418894c3f6f339130e756334e5d59ea37 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |