This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Fix failure with STBRX when store is narrower than the bswap
ClosedPublic

Authored by nemanjai on Mar 5 2017, 1:10 AM.

Details

Summary

Revision https://reviews.llvm.org/rL296811 causes https://bugs.llvm.org/show_bug.cgi?id=32140.
However, the code previously generated for the test case in that bug was wrong, so that revision is certainly needed. This patch just adds the truncate that was missing in that revision.

Diff Detail

Repository
rL LLVM

Event Timeline

nemanjai created this revision.Mar 5 2017, 1:10 AM
hfinkel accepted this revision.Mar 5 2017, 6:00 PM

LGTM

This revision is now accepted and ready to land.Mar 5 2017, 6:00 PM
This revision was automatically updated to reflect the committed changes.