commit | 478ea5d37d15733feee5ea50f689302e0d44cebb | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sun Jan 05 02:07:20 2014 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sun Jan 05 02:07:20 2014 +0000 |
tree | 314e5eb67d7919b70f45f6506bdbca82945930cc | |
parent | 4a816471f527b90464806892feeecc242491a459 [diff] |
Simplify the PatternMatch unittest by giving it a module, function, and basic block to hold instructions, and managing all of their lifetimes in a fixture. This makes it easy to sink the expectations into the test cases themselves which also makes things a bit more explicit and clearer IMO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198532 91177308-0d34-0410-b5e6-96231b3b80d8