Skip to content

[UTC] Update test check removes check lines for declarations (and leaves the argument checks) #78517

Open
@jdoerfert

Description

@jdoerfert

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)
   ;.
~

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions