[llvm-dev] Weird update_llc_test_checks behavior?

Roman Lebedev via llvm-dev llvm-dev at lists.llvm.org
Wed Dec 11 14:47:11 PST 2019


I've seen that, it doesn't actually add the check-lines after the `{`,
but after the end of the line where the function name matched.
So the fix is to make sure that function definition,
including starting `{`, is a single line.

Roman.

On Thu, Dec 12, 2019 at 1:37 AM Cameron McInally via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> I've run update_llc_test_checks on a set of tests and am seeing some
> weird behavior. The CHECK lines appear directly after the function's
> first line, even if there are multiple arguments. E.g.:
>
> define <vscale x 4 x i32> @sel_nxv4i32(<vscale x 4 x i1> %p,
> ; CHECK-LABEL: sel_nxv4i32:
> ; CHECK:       // %bb.0:
> ; CHECK-NEXT:    mov z0.s, p0/m, z1.s
> ; CHECK-NEXT:    ret
>                                        <vscale x 4 x i32> %dst,
>                                        <vscale x 4 x i32> %a) {
>
> Is that the intended behavior? Or am I doing something wrong?
>
> Thanks,
> Cam
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


More information about the llvm-dev mailing list