diff options
author | Ayman Musa <ayman.musa@intel.com> | 2017-03-07 08:56:27 +0000 |
---|---|---|
committer | Ayman Musa <ayman.musa@intel.com> | 2017-03-07 08:56:27 +0000 |
commit | 63cfb16b93d927bd36843531bdec53d66746cbef (patch) | |
tree | 43e253f01352c7e0e8c3f0b6aa9450d138484148 | |
parent | 0c11c29121a72e88d56e0a661a6954818ae40243 (diff) | |
download | bcm5719-llvm-63cfb16b93d927bd36843531bdec53d66746cbef.tar.gz bcm5719-llvm-63cfb16b93d927bd36843531bdec53d66746cbef.zip |
[X86] Quick fix for build bot failure (r297127) due to unused variable.
llvm-svn: 297130
-rw-r--r-- | llvm/cmake/modules/AddLLVM.cmake | 3 | ||||
-rw-r--r-- | llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 41375c61b9c..7f7608cff33 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/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/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp b/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp index 2a2a311a81a..0bce0e4bb77 100644 --- a/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp +++ b/llvm/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); |