Disambiguate conditional expression for newer GCCs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100167 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2010-04-02 01:31:24 +00:00
parent 1e4ac4dfd9
commit ae1d41c8ae

View File

@ -1088,8 +1088,8 @@ X86TargetLowering::getOptimalMemOpType(uint64_t Size,
if (!F->hasFnAttr(Attribute::NoImplicitFloat)) { if (!F->hasFnAttr(Attribute::NoImplicitFloat)) {
if (Size >= 16 && if (Size >= 16 &&
(Subtarget->isUnalignedMemAccessFast() || (Subtarget->isUnalignedMemAccessFast() ||
(DstAlign == 0 || DstAlign >= 16) && ((DstAlign == 0 || DstAlign >= 16) &&
(SrcAlign == 0 || SrcAlign >= 16)) && (SrcAlign == 0 || SrcAlign >= 16))) &&
Subtarget->getStackAlignment() >= 16) { Subtarget->getStackAlignment() >= 16) {
if (Subtarget->hasSSE2()) if (Subtarget->hasSSE2())
return MVT::v4i32; return MVT::v4i32;