HomePhabricator

[SelectionDAG] Refactor lowering of atomic memory intrinsics.

Description

[SelectionDAG] Refactor lowering of atomic memory intrinsics.

Summary:
This just refactors the lowering of the atomic memory intrinsics to more
closely match the code patterns used in the lowering of the non-atomic
memory intrinsics. Specifically, we encapsulate the lowering in
SelectionDAG::getAtomicMem*() functions rather than embedding
the code directly in the SelectionDAGBuilder code.

Details

Committed
dneilsonApr 23 2018, 8:40 AM
Parents
rL330602: [clangd] Fix Context::derive to actually call the right method.
Branches
Unknown
Tags
Unknown