regex - How to check for string inequality using LLVM's FileCheck in the presence of CHECK-DAGs? -
i'm using llvm's filecheck verify results of llvm pass i've written.
i know can check 2 strings equal doing like:
check: first string = [[id:[0-9]+]] check: second string = [[id]]
but there way check not equal? e.g., like:
check: first string = [[id:[0-9]+]] check: second string = [[!id]]
of course check-not
obvious answer, i'm using check-dag
doesn't play check-not
:
check-dag: can appear anywhere check-dag: first string = [[id:[0-9]+]] check-dag: second string = [[!id]]
i'm dealing numbers here, i'll satisfied solution addresses that. if else fails, solution addresses [0-9]
(no repetition) do.
Comments
Post a Comment