Skip to content

Add IR, parsing, printing, and binary for atomic cmpxchg#1083

Merged
dschuff merged 4 commits intomasterfrom
cmpxchg
Jul 10, 2017
Merged

Add IR, parsing, printing, and binary for atomic cmpxchg#1083
dschuff merged 4 commits intomasterfrom
cmpxchg

Conversation

@dschuff
Copy link
Member

@dschuff dschuff commented Jul 7, 2017

No description provided.

@@ -50,6 +50,7 @@ struct Visitor {
ReturnType visitLoad(Load* curr) {}
ReturnType visitStore(Store* curr) {}
ReturnType visitAtomicRMW(AtomicRMW* curr) {return ReturnType();} //Stub impl so not every pass has to implement this yet.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we make all these functions have the return, I believe we decided that was best?

Also, please add spaces after { and before }.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a local branch with that change which I'll submit as a separate PR because it depends on this one (I already had this branch in flight when we decided that).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, lgtm

@dschuff dschuff merged commit bcb29e5 into master Jul 10, 2017
@dschuff dschuff mentioned this pull request Jul 10, 2017
10 tasks
@dschuff dschuff deleted the cmpxchg branch July 10, 2017 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants