[DebugInfo, CallSites, test] Fix use of undef FileCheck var
authorThomas Preud'homme <thomasp@graphcore.ai>
Sat, 3 Apr 2021 07:52:39 +0000 (08:52 +0100)
committerThomas Preud'homme <thomasp@graphcore.ai>
Mon, 5 Apr 2021 10:39:24 +0000 (11:39 +0100)
commit4dd3e0feca9295c615f06f9f96f1e7ccdd63bb3d
tree73ebf38ef8f393f1fa956f2b39c144f835501f33
parentf4d156aed0f8335a522a032f714b40d06449e720
[DebugInfo, CallSites, test] Fix use of undef FileCheck var

Clang test CodeGen/debug-info-extern-call.c tries to check for the
absence of a sequence of instructions with several CHECK-NOT with one of
those directives using a variable defined in another. However CHECK-NOT
are checked independently so that is using a variable defined in a
pattern that should not occur in the input.

This commit removes the CHECK-NOT for the retained line attribute
definition since the CHECK-NOT on the compile unit will already check
that there is no retained lines.

Reviewed By: djtodoro

Differential Revision: https://reviews.llvm.org/D99830
clang/test/CodeGen/debug-info-extern-call.c