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)
commit074ccf32ce8d5ab67b7fd569d41c09a611a42486
treeb47a2039deb79da9374b7e1ec25039858ba4bfdd
parent60adf30771df049bfe31b7ff6908c044143ba8bd
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

llvm-svn: 337416
llvm/lib/Transforms/Utils/Local.cpp