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)
commit57a3d084cde0fc8be03479f8fd32177d153cbcee
tree7bcaef27ebfd78811e5c166d8c1fb89508269a53
parent28b45ce151f3d4248646f2395c5319caa93cd015
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.

llvm-svn: 231598
llvm/include/llvm/Analysis/TargetLibraryInfo.h
llvm/lib/Analysis/Lint.cpp
llvm/lib/Analysis/TargetLibraryInfo.cpp
llvm/lib/CodeGen/InterferenceCache.cpp
llvm/lib/CodeGen/InterferenceCache.h
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp