[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)
commitd177f861247251c80f1ce93e5b01674d0366efca
tree00fa3d17c9a102c1da7b256ddb04bed4674406f2
parent0941b6628318db7cf2b488649de6274b40acfaa0
[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.

llvm-svn: 177495
llvm/lib/Transforms/Scalar/SROA.cpp