diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 91f14cadf19..c66e0fa00e1 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1445,7 +1445,7 @@ private: ISD::CondCode CmpLibcallCCs[RTLIB::UNKNOWN_LIBCALL]; protected: - /// When lowering %llvm.memset this field specifies the maximum number of + /// When lowering @llvm.memset this field specifies the maximum number of /// store operations that may be substituted for the call to memset. Targets /// must set this value based on the cost threshold for that target. Targets /// should assume that the memset will be done using as many of the largest @@ -1456,7 +1456,7 @@ protected: /// @brief Specify maximum number of store instructions per memset call. unsigned maxStoresPerMemset; - /// When lowering %llvm.memcpy this field specifies the maximum number of + /// When lowering @llvm.memcpy this field specifies the maximum number of /// store operations that may be substituted for a call to memcpy. Targets /// must set this value based on the cost threshold for that target. Targets /// should assume that the memcpy will be done using as many of the largest @@ -1468,7 +1468,7 @@ protected: /// @brief Specify maximum bytes of store instructions per memcpy call. unsigned maxStoresPerMemcpy; - /// When lowering %llvm.memmove this field specifies the maximum number of + /// When lowering @llvm.memmove this field specifies the maximum number of /// store instructions that may be substituted for a call to memmove. Targets /// must set this value based on the cost threshold for that target. Targets /// should assume that the memmove will be done using as many of the largest diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 794e5849870..beb0b6f9070 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -739,9 +739,9 @@ X86TargetLowering::X86TargetLowering(X86TargetMachine &TM) // FIXME: These should be based on subtarget info. Plus, the values should // be smaller when we are in optimizing for size mode. - maxStoresPerMemset = 16; // For %llvm.memset -> sequence of stores - maxStoresPerMemcpy = 16; // For %llvm.memcpy -> sequence of stores - maxStoresPerMemmove = 3; // For %llvm.memmove -> sequence of stores + maxStoresPerMemset = 16; // For @llvm.memset -> sequence of stores + maxStoresPerMemcpy = 16; // For @llvm.memcpy -> sequence of stores + maxStoresPerMemmove = 3; // For @llvm.memmove -> sequence of stores allowUnalignedMemoryAccesses = true; // x86 supports it! setPrefLoopAlignment(16); }