For instance, for this IR output:
define void @test1(i8* %P, i8* %Q) #1 { %i = call {}* @llvm.invariant.start.p0i8(i64 32, i8* %P) call void @llvm.memmove.p0i8.p0i8.i32(i8* %Q, i8* %P, i32 32, i32 16, i1 false) ret void }
the util generates these checks:
; CHECK-LABEL: @test1( ; CHECK-NEXT: [[I:%.*]] = call {
This is pretty bad, since it creates room for llvm-lit to pass when it should
not.
The patch assumes that the received input is (1) prettified output that (2)
comes from opt -S.