[PATCH] D64389: [NFC] [X86] Fix scan-build complaining
Pengfei Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 9 05:41:54 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL365473: [NFC] [X86] Fix scan-build complaining (authored by pengfei, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D64389?vs=208605&id=208653#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64389/new/
https://reviews.llvm.org/D64389
Files:
cfe/trunk/lib/CodeGen/CGBuiltin.cpp
Index: cfe/trunk/lib/CodeGen/CGBuiltin.cpp
===================================================================
--- cfe/trunk/lib/CodeGen/CGBuiltin.cpp
+++ cfe/trunk/lib/CodeGen/CGBuiltin.cpp
@@ -11776,12 +11776,11 @@
Value *Call = Builder.CreateCall(CGM.getIntrinsic(ID), {Ops[0], Ops[1]});
Value *Result = Builder.CreateExtractValue(Call, 0);
Result = EmitX86MaskedCompareResult(*this, Result, NumElts, nullptr);
- Value *Store = Builder.CreateDefaultAlignedStore(Result, Ops[2]);
+ Builder.CreateDefaultAlignedStore(Result, Ops[2]);
Result = Builder.CreateExtractValue(Call, 1);
Result = EmitX86MaskedCompareResult(*this, Result, NumElts, nullptr);
- Store = Builder.CreateDefaultAlignedStore(Result, Ops[3]);
- return Store;
+ return Builder.CreateDefaultAlignedStore(Result, Ops[3]);
}
case X86::BI__builtin_ia32_vpmultishiftqb128:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64389.208653.patch
Type: text/x-patch
Size: 886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190709/399ee2a7/attachment.bin>
More information about the cfe-commits
mailing list