llvm-project/llvm/test/Bitcode/vscale-shuffle.ll
Paul Walker 56c091ea71
[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
This brings the printing of scalable vector constant splats inline with
their fixed length counterparts.
2024-11-21 11:21:12 +00:00

11 lines
287 B
LLVM

; RUN: llvm-as < %s | llvm-dis -disable-output
; RUN: verify-uselistorder < %s
define void @f() {
%l = call <vscale x 16 x i8> @l(<vscale x 16 x i1> splat (i1 true))
%i = add <vscale x 2 x i64> undef, splat (i64 1)
unreachable
}
declare <vscale x 16 x i8> @l(<vscale x 16 x i1>)