check or check-next the first line of the function too
authorSanjay Patel <spatel@rotateright.com>
Tue, 5 Apr 2016 16:49:07 +0000 (16:49 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 5 Apr 2016 16:49:07 +0000 (16:49 +0000)
commit96241e78ede7470fca9a98b292f4b486a729c1c4
treeceb5f15c57faf66beba73b8f813a0eeb02ea1a67
parenta49c557f70ee86bdc149900ab080b9dea48241b6
check or check-next the first line of the function too

We could make this an option if people don't like it.
But since part of the reason for using a script to generate
checks is to prevent lazy checking that lets bugs crawl
through, let's have the script check the first line too.

For asm tests, it ensures that nothing unexpected has
happened before the first line of asm. This matches the
existing behavior of update_llc_test_checks.py.

More discussion in PR22897:
https://llvm.org/bugs/show_bug.cgi?id=22897

llvm-svn: 265414
llvm/utils/update_test_checks.py