]> granicus.if.org Git - llvm/commit
update_mir_test_checks: Be careful about replacing entire vregs
authorJustin Bogner <mail@justinbogner.com>
Mon, 6 Nov 2017 21:06:09 +0000 (21:06 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 6 Nov 2017 21:06:09 +0000 (21:06 +0000)
commit82cd943eb1deceb561fb8e7c9ad7c796c883b2d3
tree3be51f67e2513291484ae7aff236c68399b92ead
parente005ea7d87872c2322e011ae7b4b02954052a934
update_mir_test_checks: Be careful about replacing entire vregs

Previously, this could end up replacing a vreg like %14 with
[[VREG1]]4, where VREG1 was the match for %1. That's obviously not
correct, though it hasn't actually come up in any tests I've converted
so far.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317509 91177308-0d34-0410-b5e6-96231b3b80d8
utils/update_mir_test_checks.py