[llvm] [X86] Fix typo: QWORD alignment is greater than 4, not 8 (PR #87819)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 13:14:59 PDT 2024


================
@@ -66,8 +66,10 @@ SDValue X86SelectionDAGInfo::EmitTargetCodeForMemset(
   // If not DWORD aligned or size is more than the threshold, call the library.
   // The libc version is likely to be faster for these cases. It can use the
   // address value and run time information about the CPU.
-  if (Alignment < Align(4) || !ConstantSize ||
-      ConstantSize->getZExtValue() > Subtarget.getMaxInlineSizeThreshold()) 
+  if (!ConstantSize ||
----------------
topperc wrote:

This change does not match the description of the patch.

https://github.com/llvm/llvm-project/pull/87819


More information about the llvm-commits mailing list