We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4169f7 commit ba5ef1bCopy full SHA for ba5ef1b
llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
@@ -86,7 +86,7 @@ SDValue X86SelectionDAGInfo::EmitTargetCodeForMemset(
86
ValReg = X86::EAX;
87
Val = (Val << 8) | Val;
88
Val = (Val << 16) | Val;
89
- if (Subtarget.is64Bit() && Alignment > Align(8)) { // QWORD aligned
+ if (Subtarget.is64Bit() && Alignment > Align(4)) { // QWORD aligned
90
AVT = MVT::i64;
91
ValReg = X86::RAX;
92
Val = (Val << 32) | Val;
0 commit comments