From: Andrea Di Biagio Date: Tue, 15 Jul 2014 10:53:44 +0000 (+0000) Subject: Silence a warning in conditional expression. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04d5a7b337c1c20be397a6f9b71d33040f4d3dca;p=platform%2Fupstream%2Fllvm.git Silence a warning in conditional expression. Fixes a gcc warning caused by a typo. A redundant assignment operation was accidentally used as the third operand of a conditional expression. No functional change intended. llvm-svn: 213061 --- diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index 6cb640d..2d494b4 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -2919,7 +2919,7 @@ bool X86FastISel::FastLowerCall(CallLoweringInfo &CLI) { MachineInstrBuilder MIB; if (CalleeOp) { // Register-indirect call. - unsigned CallOpc = Is64Bit ? X86::CALL64r : CallOpc = X86::CALL32r; + unsigned CallOpc = Is64Bit ? X86::CALL64r : X86::CALL32r; MIB = BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(CallOpc)) .addReg(CalleeOp); } else {