[llvm-commits] [llvm] r100167 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Chandler Carruth
chandlerc at gmail.com
Thu Apr 1 18:31:24 PDT 2010
Author: chandlerc
Date: Thu Apr 1 20:31:24 2010
New Revision: 100167
URL: http://llvm.org/viewvc/llvm-project?rev=100167&view=rev
Log:
Disambiguate conditional expression for newer GCCs.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=100167&r1=100166&r2=100167&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Thu Apr 1 20:31:24 2010
@@ -1088,8 +1088,8 @@
if (!F->hasFnAttr(Attribute::NoImplicitFloat)) {
if (Size >= 16 &&
(Subtarget->isUnalignedMemAccessFast() ||
- (DstAlign == 0 || DstAlign >= 16) &&
- (SrcAlign == 0 || SrcAlign >= 16)) &&
+ ((DstAlign == 0 || DstAlign >= 16) &&
+ (SrcAlign == 0 || SrcAlign >= 16))) &&
Subtarget->getStackAlignment() >= 16) {
if (Subtarget->hasSSE2())
return MVT::v4i32;
More information about the llvm-commits
mailing list