This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ] Condition code handling rework
AbandonedPublic

Authored by uweigand on Jan 16 2018, 10:19 AM.

Details

Reviewers
None
Summary

This is a work-in-process patch not intended to go in as-is. The intent is show test cases that rely on computeKnownBits understanding that the second result of ATOMIC_CMP_SWAP_WITH_SUCCESS is a boolean value. See https://reviews.llvm.org/D42067

Once complete, this patch will allow better exploitation of the SystemZ condition codes, in particular by allowing condition checks on success of an atomic operation to be done simply by directly checking the CC result set by the CSG instruction.

Diff Detail

Event Timeline

uweigand created this revision.Jan 16 2018, 10:19 AM
uweigand abandoned this revision.Jan 19 2018, 12:58 PM