mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
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:
parent
1e4ac4dfd9
commit
ae1d41c8ae
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user