OSDN Git Service

[MemDep] NFC walk invariant.group graph only down
authorPiotr Padlewski <piotr.padlewski@gmail.com>
Sun, 8 Jan 2017 22:26:06 +0000 (22:26 +0000)
committerPiotr Padlewski <piotr.padlewski@gmail.com>
Sun, 8 Jan 2017 22:26:06 +0000 (22:26 +0000)
commit7b2b2ad242dbe90f673af16d3264ba0a8c6ca35c
tree59043a0dd4afc52ba208f14724bf2c5b5efb08e1
parent2ab4f6e9708b4239bf9de7735c764f11004c6fcb
[MemDep] NFC walk invariant.group graph only down

Summary:
By using stripPointerCasts we can get to the root
value and then walk down the bitcast graph

Reviewers: reames

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D28181

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291405 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp
test/Transforms/GVN/invariant.group.ll
test/Transforms/NewGVN/invariant.group.ll