summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-11-13 22:26:13 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-11-13 22:26:13 +0000
commit87d196ca48b38f2f4503238b7d8aadebbc873571 (patch)
tree3a4b52349dde187ff7de70dc717afe55f6a58796 /clang/lib/CodeGen/CGExprConstant.cpp
parent1bfefc1c725792108a37f4e2678eb23fb06bb92f (diff)
downloadbcm5719-llvm-87d196ca48b38f2f4503238b7d8aadebbc873571.tar.gz
bcm5719-llvm-87d196ca48b38f2f4503238b7d8aadebbc873571.zip
[tablegen] Handle atomic predicates for memory type 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 memory type 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: 318095
Diffstat (limited to 'clang/lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud