[PATCH] D49586: [ORE] Move loop invariant ORE checks outside the PM loop.

Xin Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 19 19:44:02 PDT 2018


trentxintong created this revision.
trentxintong added reviewers: paquette, anemet.
Herald added a subscriber: mehdi_amini.

This takes 22ms out of ~20s compiling sqlite3.c because we call it
for every unit of compilation and every pass.


Repository:
  rL LLVM

https://reviews.llvm.org/D49586

Files:
  include/llvm/IR/Module.h
  lib/Analysis/CallGraphSCCPass.cpp
  lib/Analysis/LoopPass.cpp
  lib/IR/LegacyPassManager.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49586.156420.patch
Type: text/x-patch
Size: 6116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180720/597a5971/attachment.bin>


More information about the llvm-commits mailing list