[SROA] Don't preserve the IR names in release builds.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 20 Mar 2013 07:30:36 +0000 (07:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 20 Mar 2013 07:30:36 +0000 (07:30 +0000)
commit05c6d0b16f8c442a29b03b312f9fb6910955a8ec
tree78d996c887cf6df65653fafb7d0467e6f8193f6b
parent30ee9c2093897a0edfe3bd23e6c754c4d88cbd88
[SROA] Don't preserve the IR names in release builds.

This is espcially important because the new SROA pass goes to great
lengths to provide helpful names for debugging, and as a consequence
they can become very slow to render.

Good for between 5% and 15% of the SROA runtime on some slow test cases
such as the one in PR15412.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177495 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SROA.cpp