commit | 499797f6dcc0ea4fe6d303af06fc3fab594a4c56 | [log] [tgz] |
---|---|---|
author | James Y Knight <jyknight@google.com> | Tue Mar 29 19:09:54 2016 +0000 |
committer | James Y Knight <jyknight@google.com> | Tue Mar 29 19:09:54 2016 +0000 |
tree | 404ac98b51b1f811fab67e1034427c5fdba62c25 | |
parent | 1df673217b91eb052d200b2ce1ea83164b3dc195 [diff] |
[SPARC] Use AtomicExpandPass to expand AtomicRMW instructions. They were previously expanded to CAS loops in a custom isel expansion, but AtomicExpandPass knows how to do that generically. Testing is covered by the existing sparc atomics.ll testcases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264771 91177308-0d34-0410-b5e6-96231b3b80d8