[llvm] r304174 - [GlobalIsel] Fix a warning with GCC 7 -Wpedantic. NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Mon May 29 13:13:22 PDT 2017
Author: davide
Date: Mon May 29 15:13:22 2017
New Revision: 304174
URL: http://llvm.org/viewvc/llvm-project?rev=304174&view=rev
Log:
[GlobalIsel] Fix a warning with GCC 7 -Wpedantic. NFCI.
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/Localizer.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/Localizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/Localizer.cpp?rev=304174&r1=304173&r2=304174&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/Localizer.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/Localizer.cpp Mon May 29 15:13:22 2017
@@ -23,7 +23,7 @@ using namespace llvm;
char Localizer::ID = 0;
INITIALIZE_PASS(Localizer, DEBUG_TYPE,
"Move/duplicate certain instructions close to their use", false,
- false);
+ false)
Localizer::Localizer() : MachineFunctionPass(ID) {
initializeLocalizerPass(*PassRegistry::getPassRegistry());
More information about the llvm-commits
mailing list