Skip to content

Commit

Permalink
[X86] Quick fix for build bot failure (r297127) due to unused variable.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297130 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
aymanmusa committed Mar 7, 2017
1 parent b59d804 commit 69112bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions cmake/modules/AddLLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
3 changes: 1 addition & 2 deletions utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ using namespace llvm;
namespace {

class X86EVEX2VEXTablesEmitter {
RecordKeeper &Records;
CodeGenTarget Target;

// Hold all non-masked & non-broadcasted EVEX encoded instructions
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 69112bd

Please sign in to comment.