This is an archive of the discontinued LLVM Phabricator instance.

[LLVM-C][OCaml] Add LowerAtomic pass to C and OCaml APIs
ClosedPublic

Authored by jberdine on Sep 17 2018, 6:25 PM.

Details

Summary

Adds LLVMAddLowerAtomicPass to expose createLowerAtomicPass in the C
and OCaml APIs.

Diff Detail

Event Timeline

jberdine created this revision.Sep 17 2018, 6:25 PM
whitequark added inline comments.Sep 17 2018, 6:43 PM
include/llvm-c/Transforms/Scalar.h
102

I think the passes are sorted alphabetically here, do you think you can keep the ordering?

jberdine updated this revision to Diff 165938.Sep 18 2018, 4:42 AM
jberdine marked an inline comment as done.

reorder

lib/Transforms/Scalar/Scalar.cpp
207

Also reordered this one.

whitequark accepted this revision.Sep 18 2018, 6:31 AM
This revision is now accepted and ready to land.Sep 18 2018, 6:31 AM
This revision was automatically updated to reflect the committed changes.