improve the default impl of getSectionForMergableConstant by
authorChris Lattner <sabre@nondot.org>
Sun, 26 Jul 2009 05:57:07 +0000 (05:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Jul 2009 05:57:07 +0000 (05:57 +0000)
commit7f88a20f676350676015c4b3fb52de656f473772
treed5c4664eaabf4a152d01fa8c91de7de25a35bd85
parentaf89a96c6bc7c9fa2b55e98c6f05606e8cc29d16
improve the default impl of getSectionForMergableConstant by
putting readonly constants in the readonly section if we have one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77131 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/TargetAsmInfo.cpp