Make static variables const if possible. Makes them go into a read-only section.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 8 Mar 2015 16:07:39 +0000 (16:07 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 8 Mar 2015 16:07:39 +0000 (16:07 +0000)
commitc8a95a8bf43a4413c31e22d2e4269ecf4cebdaf8
treed941fbb11f565149ebcc05c1254fe878b7417e06
parentb8056be62cf65a2c5f4e83db665f9c300eb57986
Make static variables const if possible. Makes them go into a read-only section.

Or fold them into a initializer list which has the same effect. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231598 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/TargetLibraryInfo.h
lib/Analysis/Lint.cpp
lib/Analysis/TargetLibraryInfo.cpp
lib/CodeGen/InterferenceCache.cpp
lib/CodeGen/InterferenceCache.h
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp