diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2018-11-30 22:22:30 +0000 | 
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-11-30 22:22:30 +0000 | 
| commit | 219e5367d01151356a5cee7945f0c60535f7f000 (patch) | |
| tree | ae0ee70178d27712ca89e82f8e622e786b7dff4f /llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp | |
| parent | 5842df93dd3fd70ab1ca5ba9ed6b4010c233f330 (diff) | |
| download | bcm5719-llvm-219e5367d01151356a5cee7945f0c60535f7f000.tar.gz bcm5719-llvm-219e5367d01151356a5cee7945f0c60535f7f000.zip | |
[ValueTracking] Make unit tests easier to write; NFC
Generalize the existing MatchSelectPatternTest class to also work
with other types of tests. This reduces the amount of boilerplate
necessary to write ValueTracking tests in general, and computeKnownBits
tests in particular.
The inherited convention is that the function must be @test and the
tested instruction %A.
Differential Revision: https://reviews.llvm.org/D55141
llvm-svn: 348043
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp')
0 files changed, 0 insertions, 0 deletions

