[llvm] [X86] Fix typo: QWORD alignment is greater than 4, not 8 (PR #87819)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 5 13:17:39 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 ||
----------------
AtariDreams wrote:
I'm gonna then branch that to another PR because it's needed
https://github.com/llvm/llvm-project/pull/87825
https://github.com/llvm/llvm-project/pull/87819
More information about the llvm-commits
mailing list