diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-11-13 23:03:47 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-11-13 23:03:47 +0000 |
commit | 6d9d30a917644302a8862d86e94928ae5253d40f (patch) | |
tree | 9264cc7e89a2e45b6084d35b303196f4c1b295b1 /llvm/lib/Support/LockFileManager.cpp | |
parent | de0215ccf3cbb0db53718611fc78cf100ef1206e (diff) | |
download | llvm-6d9d30a917644302a8862d86e94928ae5253d40f.zip llvm-6d9d30a917644302a8862d86e94928ae5253d40f.tar.gz llvm-6d9d30a917644302a8862d86e94928ae5253d40f.tar.bz2 |
[tablegen] Handle atomic predicates for ordering inside tablegen. NFC.
Similar to r315841, GlobalISel and SelectionDAG require different code for the
common atomic predicates due to differences in the representation.
Even without that, differences in the IR (SDNode vs MachineInstr) require
differences in the C++ predicate.
This patch moves the implementation of the common atomic predicates related to
ordering into tablegen so that it can handle these differences.
It's NFC for SelectionDAG since it emits equivalent code and it's NFC for
GlobalISel since the rules involving the relevant predicates are still
rejected by the importer.
llvm-svn: 318102
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions