[X86] Quick fix for build bot failure (r297127) due to unused variable.

llvm-svn: 297130
This commit is contained in:
Ayman Musa 2017-03-07 08:56:27 +00:00
parent 0c11c29121
commit 63cfb16b93
2 changed files with 2 additions and 4 deletions

View File

@ -1213,8 +1213,7 @@ function(add_lit_testsuites project directory)
endif()
string(FIND ${lit_suite} Inputs is_inputs)
string(FIND ${lit_suite} Output is_output)
string(FIND ${lit_suite} .svn is_svn)
if (NOT (is_inputs EQUAL -1 AND is_output EQUAL -1 AND is_svn EQUAL -1))
if (NOT (is_inputs EQUAL -1 AND is_output EQUAL -1))
continue()
endif()

View File

@ -22,7 +22,6 @@ using namespace llvm;
namespace {
class X86EVEX2VEXTablesEmitter {
RecordKeeper &Records;
CodeGenTarget Target;
// Hold all non-masked & non-broadcasted EVEX encoded instructions
@ -50,7 +49,7 @@ class X86EVEX2VEXTablesEmitter {
};
public:
X86EVEX2VEXTablesEmitter(RecordKeeper &R) : Records(R), Target(R) {}
X86EVEX2VEXTablesEmitter(RecordKeeper &R) : Target(R) {}
// run - Output X86 EVEX2VEX tables.
void run(raw_ostream &OS);