@@ -1034,9 +1034,8 @@ extension IRBuilder {
10341034 /// allocated, otherwise `count` is defaulted to be one. If a constant
10351035 /// alignment is specified, the value result of the allocation is guaranteed
10361036 /// 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.
10401039 ///
10411040 /// The returned value is allocated in the address space specified in the data layout string for the target. If
10421041 /// no such value is specified, the value is allocated in the default address space.
@@ -1066,6 +1065,9 @@ extension IRBuilder {
10661065 /// Build a store instruction that stores the first value into the location
10671066 /// given in the second value.
10681067 ///
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+ ///
10691071 /// - parameter val: The source value.
10701072 /// - parameter ptr: The destination pointer to store into.
10711073 /// - parameter ordering: The ordering effect of the fence for this store,
@@ -1088,6 +1090,9 @@ extension IRBuilder {
10881090 /// Build a load instruction that loads a value from the location in the
10891091 /// given value.
10901092 ///
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+ ///
10911096 /// - parameter ptr: The pointer value to load from.
10921097 /// - parameter type: The type of value loaded from the given pointer.
10931098 /// - parameter ordering: The ordering effect of the fence for this load,
@@ -1933,6 +1938,9 @@ extension IRBuilder {
19331938 /// Build a load instruction that loads a value from the location in the
19341939 /// given value.
19351940 ///
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+ ///
19361944 /// - parameter ptr: The pointer value to load from.
19371945 /// - parameter ordering: The ordering effect of the fence for this load,
19381946 /// if any. Defaults to a nonatomic load.
0 commit comments