[llvm] [X86] For inline memset with minsize, use stosb (PR #87003)
    Rose Silicon via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Sep 15 08:54:36 PDT 2024
    
    
  
================
@@ -146,8 +154,8 @@ SDValue X86SelectionDAGInfo::EmitTargetCodeForMemset(
                     DAG.getNode(ISD::ADD, dl, AddrVT, Dst,
                                 DAG.getConstant(Offset, dl, AddrVT)),
                     Val, DAG.getConstant(BytesLeft, dl, SizeVT), Alignment,
-                    isVolatile, AlwaysInline,
-                    /* CI */ nullptr, DstPtrInfo.getWithOffset(Offset)));
+                    isVolatile, /*AlwaysInline*/ true, /* CI */ nullptr,
----------------
RSilicon wrote:
Not anymore.
https://github.com/llvm/llvm-project/pull/87003
    
    
More information about the llvm-commits
mailing list