commit | ed0266d8ee16537e7cec9d9409ddf07a8e3efbc5 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Mar 07 17:41:00 2015 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Mar 07 17:41:00 2015 +0000 |
tree | fe747a6b3535bb74e5528fa2a8cfff34be6062f9 | |
parent | 62ffaaac7c03a1b50b98d93263a02514e39c634f [diff] |
Make constant arrays that are passed to functions as const. In theory this allows the compiler to skip materializing the array on the stack. In practice clang often fails to do that, but that's a different story. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231571 91177308-0d34-0410-b5e6-96231b3b80d8