]> granicus.if.org Git - llvm/commit
[SelectionDAG] Propagate alias metadata to target intrinsic nodes
authorJames Molloy <jmolloy@google.com>
Wed, 3 Jul 2019 14:33:29 +0000 (14:33 +0000)
committerJames Molloy <jmolloy@google.com>
Wed, 3 Jul 2019 14:33:29 +0000 (14:33 +0000)
commit755e158b419372e0d05e189ac4511a8e845d9b2e
tree3921de23fc7702bf80f063f848e74626eaf2ca31
parent966519d69a13499653036222b697cbc4ca0770f6
[SelectionDAG] Propagate alias metadata to target intrinsic nodes

When a target intrinsic has been determined to touch memory, we construct a MachineMemOperand during SDAG construction. In this case, we should propagate AAMDNodes metadata to the MachineMemOperand where available.

Differential revision: https://reviews.llvm.org/D64131

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365043 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/AMDGPU/llvm.amdgcn.atomic.inc.ll