================
@@ -98,6 +99,13 @@ class ConstantInt final : public ConstantData {
/// value. Otherwise return a ConstantInt for the given value.
static Constant *get(Type *Ty, uint64_t V, bool IsSigned = false);
+ /// WARNING: Incomplete support, do not use. These methods exist for early
+ /// prototyping, for most use cases ConstantInt::get() should be used.
+ /// Return a ConstantInt with a splat of the given value.
+ static ConstantInt *getSplat(LLVMContext &Context, ElementCount EC,
+ const APInt &V);
+ static ConstantInt *getSplat(const VectorType *Ty, const APInt &V);
----------------
paulwalker-arm wrote:
I've moved the textual IR side of things to
https://github.com/llvm/llvm-project/pull/74620 following the suggestion to
have `splat(x)` be synonymous with `ConstantInt/FP::get()`.
https://github.com/llvm/llvm-project/pull/74502
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits