diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 41375c61b9c..7f7608cff33 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -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() diff --git a/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp b/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp index 2a2a311a81a..0bce0e4bb77 100644 --- a/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp +++ b/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp @@ -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);