From b312e52e4e058dc3d9af87a7b8c6ec1947417a6d Mon Sep 17 00:00:00 2001
From: Teresa Johnson <tejohnson@google.com>
Date: Sat, 5 May 2018 15:15:04 +0000
Subject: [PATCH] Add required target to address bot failures from r331592

Failing on non-x86 bots, needs x86 target for code gen.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@331593 91177308-0d34-0410-b5e6-96231b3b80d8
---
 test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll b/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll
index 62e045d723..11b3a5d1fc 100644
--- a/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll
+++ b/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll
@@ -1,5 +1,7 @@
 ; Test to ensure -fdiagnostics-show-hotness and -fsave-optimization-record
 ; work when invoking the ThinLTO backend path.
+; REQUIRES: x86-registered-target
+
 ; RUN: opt -module-summary -o %t.o %s
 ; RUN: llvm-lto -thinlto -o %t %t.o
 
-- 
2.40.0