[PATCH] D30725: [FileCheck] Added [[@CLEAR:regex]] as a way to clear variables.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 16:43:20 PST 2017


As far as I can tell it does not. E.g. this passes:

// RUN: FileCheck -check-prefix Y -input-file %s %s

op y2
op y2l
op y2
; Y:  [[REGY:y[0-9]]]
; Y-LABEL:  op y2l
; Y:  op [[REGY]]


On Tue, Mar 7, 2017 at 4:33 PM, Matt Arsenault via Phabricator <
reviews at reviews.llvm.org> wrote:

> arsenm added a comment.
>
> I always thought that a CHECK-LABEL should clear all defined variables
>
>
> https://reviews.llvm.org/D30725
>
>
>
>


-- 
--Artem Belevich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/2fe6e900/attachment.html>


More information about the llvm-commits mailing list