[PATCH] [GVN] Perform Scalar PRE on gep indices that feed loads before doing Load PRE

Balaram Makam bmakam at codeaurora.org
Tue Nov 4 06:06:59 PST 2014


I turned on the slow path and commented out the fast path. If we can decide we no longer need to keep the fast path around I will clean it up.

I am running a perf run to gather compile times and will update the comment once I get back the results.

http://reviews.llvm.org/D6103

Files:
  lib/Transforms/Scalar/GVN.cpp
  test/Transforms/GVN/pre-gep-load.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6103.15763.patch
Type: text/x-patch
Size: 16884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141104/bb40af9e/attachment.bin>


More information about the llvm-commits mailing list