From f8d482c07be46b2ed0c280dfda1bb86cab5de386 Mon Sep 17 00:00:00 2001 From: Clement Courbet Date: Wed, 9 Oct 2019 09:03:42 +0000 Subject: [PATCH] [llvm-exegesis][NFC] Fix rL374146. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove extra semicolon: Target.cpp:187:2: warning: extra ‘;’ [-Wpedantic] llvm-svn: 374147 --- llvm/tools/llvm-exegesis/lib/X86/Target.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-exegesis/lib/X86/Target.cpp b/llvm/tools/llvm-exegesis/lib/X86/Target.cpp index 681bf4c..b8c6bae 100644 --- a/llvm/tools/llvm-exegesis/lib/X86/Target.cpp +++ b/llvm/tools/llvm-exegesis/lib/X86/Target.cpp @@ -184,7 +184,7 @@ static void setMemOp(InstructionTemplate &IT, int OpIdx, const auto Op = IT.Instr.Operands[OpIdx]; assert(Op.isExplicit() && "invalid memory pattern"); IT.getValueFor(Op) = OpVal; -}; +} // Common (latency, uops) code for LEA templates. `GetDestReg` takes the // addressing base and index registers and returns the LEA destination register. -- 2.7.4