OSDN Git Service

Skip debuginfo intrinsic in markLiveBlocks.
authorXin Tong <trent.xin.tong@gmail.com>
Wed, 18 Jul 2018 18:40:45 +0000 (18:40 +0000)
committerXin Tong <trent.xin.tong@gmail.com>
Wed, 18 Jul 2018 18:40:45 +0000 (18:40 +0000)
commit5aa954ccaf2163b91cbf9ac531e9c1ec4ea8d9fa
tree44aa18236b2cbba23f2d86cc0bc79f7f7f748574
parentca593328f307df65480d79a2cf97abda0ca5acad
Skip debuginfo intrinsic in markLiveBlocks.

Summary:
The optimizer is 10%+ slower with vs without debuginfo. I started checking where
the difference is coming from.

I compiled sqlite3.c with and without debug info from CTMark and compare the time difference.

I use Xcode Instrument to find where time is spent. This brings about 20ms, out of ~20s.

Reviewers: davide, hfinkel

Reviewed By: hfinkel

Subscribers: hfinkel, aprantl, JDevlieghere, llvm-commits

Differential Revision: https://reviews.llvm.org/D49337

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337416 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Local.cpp