diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-10-18 05:15:34 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-10-18 05:15:34 +0000 |
commit | 2626094fa136cbf4a451335975558a50e1e6fb61 (patch) | |
tree | 5090043c3fba3f98113b5480e3c920f62e383a55 /llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | |
parent | 45857d4b58e5e6c2661c2c980eea6877328aca40 (diff) | |
download | bcm5719-llvm-2626094fa136cbf4a451335975558a50e1e6fb61.tar.gz bcm5719-llvm-2626094fa136cbf4a451335975558a50e1e6fb61.zip |
Make a bunch of static arrays const.
llvm-svn: 250642
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp index 90b46efdf73..c6c44ab76da 100644 --- a/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp +++ b/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp @@ -1476,7 +1476,7 @@ HexagonTargetLowering::HexagonTargetLowering(const TargetMachine &TM, // Set the action for vector operations to "expand", then override it with // either "custom" or "legal" for specific cases. - static unsigned VectExpOps[] = { + static const unsigned VectExpOps[] = { // Integer arithmetic: ISD::ADD, ISD::SUB, ISD::MUL, ISD::SDIV, ISD::UDIV, ISD::SREM, ISD::UREM, ISD::SDIVREM, ISD::UDIVREM, ISD::ADDC, |