summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackColoring.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-10-15 02:41:12 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-10-15 02:41:12 +0000
commit39690bdf429bc4aa0fb70ee454e6d602a77d0a39 (patch)
treef8d919028078cacc1cd69362fde65e7b1cde98a0 /llvm/lib/CodeGen/StackColoring.cpp
parentb7c0b089f26af8150209af173af4c199b9e13531 (diff)
downloadbcm5719-llvm-39690bdf429bc4aa0fb70ee454e6d602a77d0a39.tar.gz
bcm5719-llvm-39690bdf429bc4aa0fb70ee454e6d602a77d0a39.zip
[globalisel][tablegen] Map ld and st to G_LOAD and G_STORE. NFC
Summary: There is an important mismatch between ISD::LOAD and G_LOAD (and likewise for ISD::STORE and G_STORE). In SelectionDAG, ISD::LOAD is a non-atomic load and atomic loads are handled by a separate node. However, this is not true of GlobalISel's G_LOAD. For G_LOAD, the MachineMemOperand indicates the atomicity of the operation. As a result, this mapping must also add a predicate that checks for non-atomic MachineMemOperands. This is NFC since these nodes always have predicates in practice and are therefore always rejected at the moment. Depends on D37443 Reviewers: ab, qcolombet, t.p.northover, rovka, aditya_nandakumar Reviewed By: qcolombet Subscribers: kristof.beyls, llvm-commits, igorb Differential Revision: https://reviews.llvm.org/D37445 llvm-svn: 315843
Diffstat (limited to 'llvm/lib/CodeGen/StackColoring.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud