[llvm] [X86] Make test more robust against different builds
authoraartbik <ajcbik@google.com>
Wed, 22 Apr 2020 03:43:00 +0000 (20:43 -0700)
committeraartbik <ajcbik@google.com>
Wed, 22 Apr 2020 07:23:46 +0000 (00:23 -0700)
commit5397f290871b2e27265569e3d8197a9565373597
treeda0f05e36baccf02df5b5aa4b0d5ae9722899ba9
parenta53874b7e4c82416b8eb48bbd45b5cb93f1e09d3
[llvm] [X86] Make test more robust against different builds

Summary:
Rationale:
Using the --debug-only flag requires a debug build. Also, the debug output is not always consistent over different builds.
This change avoids all problems by just testing the generated assembly for AVX.

Reviewers: craig.topper, mehdi_amini, nicolasvasilache

Reviewed By: craig.topper

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78609
llvm/test/CodeGen/X86/pr45563.ll