[PATCH] D11115: [LSR] don't attempt to promote ephemeral values to indvars

Jingyue Wu jingyue at google.com
Fri Jul 10 17:05:52 PDT 2015


jingyue created this revision.
jingyue added reviewers: atrick, hfinkel.
jingyue added a subscriber: llvm-commits.

This at least saves compile time. I also encountered a case where
ephemeral values affect whether other variables are promoted, causing
performance issues. It may be a bug in LSR, but I didn't manage to
reduce it yet. Anyhow, I believe it's in general not worth considering
ephemeral values in LSR.

http://reviews.llvm.org/D11115

Files:
  include/llvm/Analysis/IVUsers.h
  lib/Analysis/IVUsers.cpp
  test/Transforms/LoopStrengthReduce/ephemeral.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11115.29506.patch
Type: text/x-patch
Size: 4351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150711/238565de/attachment.bin>


More information about the llvm-commits mailing list