File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -951,11 +951,13 @@ class IRBuilderBase {
951
951
}
952
952
953
953
// / Create an expression which evaluates to the number of elements in \p EC
954
- // / at runtime.
954
+ // / at runtime. This can result in poison if type \p Ty is not big enough to
955
+ // / hold the value.
955
956
LLVM_ABI Value *CreateElementCount (Type *Ty, ElementCount EC);
956
957
957
958
// / Create an expression which evaluates to the number of units in \p Size
958
- // / at runtime. This works for both units of bits and bytes.
959
+ // / at runtime. This works for both units of bits and bytes. This can result
960
+ // / in poison if type \p Ty is not big enough to hold the value.
959
961
LLVM_ABI Value *CreateTypeSize (Type *Ty, TypeSize Size);
960
962
961
963
// / Creates a vector of type \p DstType with the linear sequence <0, 1, ...>
You can’t perform that action at this time.
0 commit comments