[PATCH] D19632: [scan-build] fix logic error warnings emitted on llvm code base

Apelete Seketeli via llvm-commits llvm-commits at lists.llvm.org
Thu May 5 14:00:41 PDT 2016


apelete updated this revision to Diff 56343.
apelete added a comment.

[scan-build] fix logic error warnings emitted on llvm code base

Changes since last revision:

- lib/Target/XCore/XCoreInstrInfo.cpp: remove both assert and check against 'SecondLastInst' MachineInstr variable since function would have returned earlier if there was only one terminator.


http://reviews.llvm.org/D19632

Files:
  lib/CodeGen/CriticalAntiDepBreaker.cpp
  lib/Target/NVPTX/NVPTXISelLowering.cpp
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/XCore/XCoreInstrInfo.cpp
  lib/Transforms/ObjCARC/ObjCARCContract.cpp
  lib/Transforms/Scalar/LoadCombine.cpp
  lib/Transforms/Scalar/LoopStrengthReduce.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19632.56343.patch
Type: text/x-patch
Size: 4208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160505/518b125f/attachment.bin>


More information about the llvm-commits mailing list