]> granicus.if.org Git - llvm/commit
NewGVN: Handle coercion of constant stores, loads, memory insts.
authorDaniel Berlin <dberlin@dberlin.org>
Sun, 2 Apr 2017 13:23:44 +0000 (13:23 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Sun, 2 Apr 2017 13:23:44 +0000 (13:23 +0000)
commit72710465b66e3c9a1bb56d0dae5ce5a6f58b2ea4
treeaf01307ab4061ba4ad42c3e3bca1004dfcd6cc8b
parent650bf3e599576d64f8dc421848933e176b8e1730
NewGVN: Handle coercion of constant stores, loads, memory insts.

Summary:
Depends on D30928.

This adds support for coercion of stores and memory instructions that do not require insertion to process.
Another few tests down.
I added the relevant tests from rle.ll

Reviewers: davide

Subscribers: llvm-commits, Prazek

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299330 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/NewGVN.cpp
test/Transforms/NewGVN/calloc-load-removal.ll
test/Transforms/NewGVN/fold-const-expr.ll
test/Transforms/NewGVN/malloc-load-removal.ll
test/Transforms/NewGVN/pr17732.ll
test/Transforms/NewGVN/rle.ll [new file with mode: 0644]