Open
Description
Since da28c33 the check lines of certain declarations are removed but the argument check-same lines are kept. That is obviously broken.
As an example, this is what happens if I update the Attributor tests now:
--- a/llvm/test/Transforms/Attributor/misc_crash.ll
+++ b/llvm/test/Transforms/Attributor/misc_crash.ll
@@ -124,7 +124,6 @@ define internal i16 @bar3(ptr %p1, i16 %p2) {
ret i16 %p2
}
-; CHECK-LABEL: declare {{[^@]+}}@func6
; CHECK-SAME: (ptr)
declare void @func6(ptr)
;.
~