This is an archive of the discontinued LLVM Phabricator instance.

[PPC] Fix atomics lowering in DAG lowering.
ClosedPublic

Authored by timshen on May 25 2017, 3:56 PM.

Details

Summary

I forgot to forward the chain, causing some missing instruction
dependencies. The test crashes the compiler without this patch.

Inspired by the test case, D33519 also tries to remove the extra sync.

Diff Detail

Repository
rL LLVM

Event Timeline

timshen created this revision.May 25 2017, 3:56 PM

I'll have this one checked in first - it's a crasher fix.

This revision was automatically updated to reflect the committed changes.