summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2018-07-20 15:20:50 +0000
committerNirav Dave <niravd@google.com>2018-07-20 15:20:50 +0000
commit5a4e11ad9c2eb9435806f93ed371e58cdb3519ba (patch)
tree688159079c8a2254ba91ff4f8e6e89428a9471a2 /llvm/lib/IR/Module.cpp
parent88ad704b5ba4db7b6c55814fd90eab1ae625f7b1 (diff)
downloadbcm5719-llvm-5a4e11ad9c2eb9435806f93ed371e58cdb3519ba.tar.gz
bcm5719-llvm-5a4e11ad9c2eb9435806f93ed371e58cdb3519ba.zip
[DAG] Fix Memory ordering check in ReduceLoadOpStore.
When merging through a TokenFactor we need to check that the load may be ordered such that no other aliasing memory operations may happen. It is not sufficient to just check that the load is a member of the chain token factor as it there may be a indirect chain. Require the load's chain has only one use. This fixes PR37826. Reviewers: spatel, davide, efriedma, craig.topper, RKSimon Subscribers: hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D49388 llvm-svn: 337560
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud