commit | 787e71df693e94cc512f3e439bf91609a8ec9bae | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Mon Jul 15 06:39:13 2013 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Mon Jul 15 06:39:13 2013 +0000 |
tree | 56b020bd3a6fda52f472b97f75876052bee34a00 | |
parent | 793fd8d0d6d18d3b6057fce8e8f55269cf34400c [diff] [blame] |
Make some arrays 'static const' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186307 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/R600/AMDGPUISelLowering.cpp b/lib/Target/R600/AMDGPUISelLowering.cpp index 3629d74..c9df89c 100644 --- a/lib/Target/R600/AMDGPUISelLowering.cpp +++ b/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -78,7 +78,7 @@ setOperationAction(ISD::UDIVREM, MVT::i32, Custom); setOperationAction(ISD::UREM, MVT::i32, Expand); - int types[] = { + static const int types[] = { (int)MVT::v2i32, (int)MVT::v4i32 };