Fold 15 tiny test cases into a single file that implements the
authorChandler Carruth <chandlerc@gmail.com>
Mon, 9 Apr 2012 01:43:17 +0000 (01:43 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 9 Apr 2012 01:43:17 +0000 (01:43 +0000)
commit6916a2375a210e3c60a599b9f1f8c13f38455a9b
tree775e52f6223c8e588445d1a2a509722fce65b4ec
parent10612dc15f48cace9d62c7b5df772234a7c386e4
Fold 15 tiny test cases into a single file that implements the
comprehensive testing of TLS codegen for x86. Convert all of the ones
that were still using grep to use FileCheck. Remove some redundancies
between them.

Perhaps most interestingly expand the test cases so that they actually
fully list the instruction snippet being tested. TLS operations are
*very* narrowly defined, and so these seem reasonably stable. More
importantly, the existing test cases already were crazy fine grained,
expecting specific registers to be allocated. This just clarifies that
no *other* instructions are expected, and fills in some crucial gaps
that weren't being tested at all.

This will make any subsequent changes to TLS much more clear during
review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154303 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
test/CodeGen/X86/tls.ll [new file with mode: 0644]
test/CodeGen/X86/tls1.ll [deleted file]
test/CodeGen/X86/tls10.ll [deleted file]
test/CodeGen/X86/tls11.ll [deleted file]
test/CodeGen/X86/tls12.ll [deleted file]
test/CodeGen/X86/tls13.ll [deleted file]
test/CodeGen/X86/tls14.ll [deleted file]
test/CodeGen/X86/tls15.ll [deleted file]
test/CodeGen/X86/tls2.ll [deleted file]
test/CodeGen/X86/tls3.ll [deleted file]
test/CodeGen/X86/tls4.ll [deleted file]
test/CodeGen/X86/tls5.ll [deleted file]
test/CodeGen/X86/tls6.ll [deleted file]
test/CodeGen/X86/tls7.ll [deleted file]
test/CodeGen/X86/tls8.ll [deleted file]
test/CodeGen/X86/tls9.ll [deleted file]