[PATCH] Fix a performance problem in gep(gep ...) merging

Wei Mi wmi at google.com
Mon Apr 20 21:59:03 PDT 2015


1. updated getelementptr.ll.
2. descale-zero.ll failed with the patch. Actually the testcase didn't go through the code added in the original patch (For the testcase, InstCombiner::Descale was not called), which showed it was an invalid testcase. So I simply removed it.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8911

Files:
  lib/Transforms/InstCombine/InstructionCombining.cpp
  test/Transforms/InstCombine/descale-zero.ll
  test/Transforms/InstCombine/gep-merge.ll
  test/Transforms/InstCombine/getelementptr.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8911.24096.patch
Type: text/x-patch
Size: 4092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150421/8faa9483/attachment.bin>


More information about the llvm-commits mailing list