This is an archive of the discontinued LLVM Phabricator instance.

[scan-build] fix dead store warnings emitted on LLVM AMDGPU code base
ClosedPublic

Authored by apelete on May 2 2016, 1:44 PM.

Details

Summary

his fixes dead store warnings of the type "dead assignment" reported
by Clang Static Analyzer on the following file:

  • lib/Target/AMDGPU/SIISelLowering.cpp.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>

Diff Detail

Event Timeline

apelete updated this revision to Diff 55890.May 2 2016, 1:44 PM
apelete retitled this revision from to [scan-build] fix dead store warnings emitted on LLVM AMDGPU code base.
apelete added a reviewer: tstellarAMD.
apelete updated this object.
apelete added a subscriber: llvm-commits.
rivanvx accepted this revision.May 3 2016, 2:22 PM
rivanvx added a reviewer: rivanvx.
rivanvx added a subscriber: rivanvx.

LGTM

This revision is now accepted and ready to land.May 3 2016, 2:22 PM
apelete updated this revision to Diff 57115.May 12 2016, 4:18 PM
apelete edited edge metadata.

[scan-build] fix dead store warnings emitted on LLVM AMDGPU code base

Changes since last revision:

  • rebased patch on trunk and validated against test suite.

LGTM

I don't have commit access so please go ahead and commit this for me when you're ready.

@apelete neither do I. @tstellarAMD, can you please commit this?

arsenm accepted this revision.Jul 11 2016, 9:40 AM
arsenm added a reviewer: arsenm.

LGTM

Looks like patch was not committed.