[llvm-dev] How to access result of LowerAtomic pass from backend?

Thomas Lively via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 20 14:57:28 PDT 2019


Hi everyone,

In the wasm backend I need to figure out whether or not the LowerAtomic
pass lowered any atomic operations. Ultimately I would like to produce
different output at the MC layer depending on whether or not any
source-level atomics were lowered to non-atomic operations. Is it possible
to query the result of the LowerAtomic pass from the backend? If not, what
would be a better way to get this information? I would like to avoid having
to reimplement atomic lowering in the backend just to have access to this
information, if possible.

Thanks,

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190320/c3e53ea5/attachment.html>


More information about the llvm-dev mailing list