summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-07-15 10:53:44 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-07-15 10:53:44 +0000
commit04d5a7b337c1c20be397a6f9b71d33040f4d3dca (patch)
treefe1ea953ce92aa5a011ad841b12ddad1de3f8c66 /llvm/lib/Target/X86/X86FastISel.cpp
parentdee612d4f6f2b22a65b9e47c7b6364ba564c10b1 (diff)
downloadbcm5719-llvm-04d5a7b337c1c20be397a6f9b71d33040f4d3dca.tar.gz
bcm5719-llvm-04d5a7b337c1c20be397a6f9b71d33040f4d3dca.zip
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
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 6cb640dc01e..2d494b4aeeb 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 {
OpenPOWER on IntegriCloud