]> granicus.if.org Git - llvm/commit
[SeparateConstOffsetFromGEP] garbage-collect intermediate instructions
authorJingyue Wu <jingyue@google.com>
Tue, 21 Apr 2015 19:53:18 +0000 (19:53 +0000)
committerJingyue Wu <jingyue@google.com>
Tue, 21 Apr 2015 19:53:18 +0000 (19:53 +0000)
commit412b6fc7b9cd7b331ec032aaedd8dcd337b0a111
tree71ae40f0b32ea1bb48a91a1e1462eb8046b1226b
parentdc96507f1fc2ca9c027a3b67438bde08538ac5ae
[SeparateConstOffsetFromGEP] garbage-collect intermediate instructions

Summary: so that we needn't run DCE after this pass.

Test Plan: removed -dce from the commandline in split-gep.ll and split-gep-and-gvn.ll

Reviewers: meheff

Subscribers: llvm-commits, HaoLiu, hfinkel, jholewinski

Differential Revision: http://reviews.llvm.org/D9096

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235409 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep-and-gvn.ll
test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll