From 30ed5caab51015a12ce8cebdd0486914fa469fee 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] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374147 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-exegesis/lib/X86/Target.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-exegesis/lib/X86/Target.cpp b/tools/llvm-exegesis/lib/X86/Target.cpp index 681bf4cebf8..b8c6bae45f8 100644 --- a/tools/llvm-exegesis/lib/X86/Target.cpp +++ b/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.40.0