[UpdateTestChecks] Handle IR variables with a '-' in the name
authorAlexander Richardson <arichardson.kde@gmail.com>
Wed, 14 Mar 2018 20:28:53 +0000 (20:28 +0000)
committerAlexander Richardson <arichardson.kde@gmail.com>
Wed, 14 Mar 2018 20:28:53 +0000 (20:28 +0000)
commit115b0673b67fe826cee1bc7a145c324ec41c2140
tree2955a94f57e6ee842e74eeadcba5b7dbb371f048
parent8364901f2479effe999386b2abd04e7b5108782c
[UpdateTestChecks] Handle IR variables with a '-' in the name

Summary:
I noticed that clang will emit variables such as %indirect-arg-temp when
running update_cc1_test_checks.py and therefore update_cc1_test_checks.py
wasn't adding FileCheck captures for those variables.

Reviewers: MaskRay

Reviewed By: MaskRay

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D44459

llvm-svn: 327564
llvm/utils/UpdateTestChecks/common.py