commit | fc16153e104c53dcfd54e79eee6549820a8a12f4 | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Tue Dec 01 20:20:49 2015 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Tue Dec 01 20:20:49 2015 +0000 |
tree | b36a24354baf6bd6a559592d13d215ea89d77a35 | |
parent | e6b26fa8adb7f932fabb9880b7a84b2ab1370b8c [diff] |
IR: Clean up some duplicated code in ConstantDataSequential creation. NFC ConstantDataArray::getImpl and ConstantDataVector::getImpl had a lot of copy pasta in how they handled sequences of constants. Break that out into a couple of simple functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254456 91177308-0d34-0410-b5e6-96231b3b80d8