[PATCH] [SeparateConstOffsetFromGEP] garbage-collect intermediate instructions

Jingyue Wu jingyue at google.com
Mon Apr 20 16:16:15 PDT 2015


removeConstOffset stops reusing instructions in UserChain

This ensures RecursivelyDeleteTriviallyDeadInstructions(UserChain.back()) can
remove all dead instructions in UserChain.


http://reviews.llvm.org/D9096

Files:
  lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep-and-gvn.ll
  test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9096.24074.patch
Type: text/x-patch
Size: 7857 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150420/f70a660d/attachment.bin>


More information about the llvm-commits mailing list