[llvm-exegesis] Fix warning and hoist statement of arch-specific section
authorAiden Grossman <agrossman154@yahoo.com>
Tue, 27 Jun 2023 07:01:20 +0000 (07:01 +0000)
committerAiden Grossman <agrossman154@yahoo.com>
Tue, 27 Jun 2023 07:01:20 +0000 (07:01 +0000)
commit9b684ecde68c6ba479b02b93b0944f4bc79094d5
tree2ad523bf5b64b2360a057bae4e71b43e1781bd22
parent9f80831f3627e800709e2434bbbd5bb179b1576e
[llvm-exegesis] Fix warning and hoist statement of arch-specific section

My last patch broke most of the builders that aren't currently running
at least Kernel 5.6 as there was a variable used later on inside a
region that required that kernel version. Also fixes a minor warning
left over from a bad merge.
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp