diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2019-06-20 22:35:52 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2019-06-20 22:35:52 +0000 |
commit | 73986707bd57faab657c17acb6d219ed021f408a (patch) | |
tree | f7f72493b885e6d53775e99e40dc1014421ff153 /llvm/lib/Analysis/InstructionSimplify.cpp | |
parent | 5c287f751aa1e0f6e5ede0cf612e222cb24889b4 (diff) | |
download | bcm5719-llvm-73986707bd57faab657c17acb6d219ed021f408a.tar.gz bcm5719-llvm-73986707bd57faab657c17acb6d219ed021f408a.zip |
[CodeGen][test] Use FileCheck variable matchers for better test support
Summary: Depending on how clang is built, it may discard the IR names and use names like `%2` instead of `%result.ptr`, causing tests that rely on the IR name to fail. Using FileCheck matchers makes the test work regardless of how clang is built.
This test passes with both `-fno-discard-value-names` and `-fdiscard-value-names` to make sure it passes regardless of the build mode.
Reviewers: rnk, akhuang, aprantl, lebedev.ri
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D63625
llvm-svn: 363996
Diffstat (limited to 'llvm/lib/Analysis/InstructionSimplify.cpp')
0 files changed, 0 insertions, 0 deletions