Re-land "[llvm-exegesis] Save target state before running the benchmark."
authorClement Courbet <courbet@google.com>
Wed, 4 Nov 2020 07:56:27 +0000 (08:56 +0100)
committerClement Courbet <courbet@google.com>
Wed, 4 Nov 2020 08:46:55 +0000 (09:46 +0100)
commit8383fddc4fa9b4e61954e5ac93b00719a39d2291
treecf51e37a9801b21c9cad6caa8ceab8c839ac1c11
parent8475fa6ed6bb27d5abad418a7f77e9430aa825eb
Re-land "[llvm-exegesis] Save target state before running the benchmark."

The X86 exegesis target is never executed run on non-X86 hosts, disable
X86 instrinsic code on non-X86 targets.

This reverts commit 8cfc872129a99782ab07a19171bf8eace85589ae.
llvm/test/tools/llvm-exegesis/X86/uops-FLDENVm.s [new file with mode: 0644]
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
llvm/tools/llvm-exegesis/lib/Target.cpp
llvm/tools/llvm-exegesis/lib/Target.h
llvm/tools/llvm-exegesis/lib/X86/Target.cpp