@@ -1034,9 +1034,8 @@ extension IRBuilder {
1034
1034
/// allocated, otherwise `count` is defaulted to be one. If a constant
1035
1035
/// alignment is specified, the value result of the allocation is guaranteed
1036
1036
/// to be aligned to at least that boundary. The alignment may not be
1037
- /// greater than `1 << 29`. If not specified, or if zero, the target can
1038
- /// choose to align the allocation on any convenient boundary compatible with
1039
- /// the type.
1037
+ /// greater than `1 << 29`. If not specified, or if zero, the target will
1038
+ /// choose a default value that is convenient and compatible with the type.
1040
1039
///
1041
1040
/// The returned value is allocated in the address space specified in the data layout string for the target. If
1042
1041
/// no such value is specified, the value is allocated in the default address space.
@@ -1066,6 +1065,9 @@ extension IRBuilder {
1066
1065
/// Build a store instruction that stores the first value into the location
1067
1066
/// given in the second value.
1068
1067
///
1068
+ /// If alignment is not specified, or if zero, the target will choose a default
1069
+ /// value that is convenient and compatible with the type.
1070
+ ///
1069
1071
/// - parameter val: The source value.
1070
1072
/// - parameter ptr: The destination pointer to store into.
1071
1073
/// - parameter ordering: The ordering effect of the fence for this store,
@@ -1088,6 +1090,9 @@ extension IRBuilder {
1088
1090
/// Build a load instruction that loads a value from the location in the
1089
1091
/// given value.
1090
1092
///
1093
+ /// If alignment is not specified, or if zero, the target will choose a default
1094
+ /// value that is convenient and compatible with the type.
1095
+ ///
1091
1096
/// - parameter ptr: The pointer value to load from.
1092
1097
/// - parameter type: The type of value loaded from the given pointer.
1093
1098
/// - parameter ordering: The ordering effect of the fence for this load,
@@ -1933,6 +1938,9 @@ extension IRBuilder {
1933
1938
/// Build a load instruction that loads a value from the location in the
1934
1939
/// given value.
1935
1940
///
1941
+ /// If alignment is not specified, or if zero, the target will choose a default
1942
+ /// value that is convenient and compatible with the type.
1943
+ ///
1936
1944
/// - parameter ptr: The pointer value to load from.
1937
1945
/// - parameter ordering: The ordering effect of the fence for this load,
1938
1946
/// if any. Defaults to a nonatomic load.
0 commit comments