summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/SCCP.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-01-26 02:31:22 +0000
committerChris Lattner <sabre@nondot.org>2012-01-26 02:31:22 +0000
commite150e2df424b162710b36a1ec5ef90270ffb435b (patch)
tree1269ef646ae24bab1faa78a8c55995e721665148 /lib/Transforms/Scalar/SCCP.cpp
parentb56900aa86aa535fb1f060f5935d1e209e45d907 (diff)
downloadllvm-e150e2df424b162710b36a1ec5ef90270ffb435b.tar.gz
llvm-e150e2df424b162710b36a1ec5ef90270ffb435b.tar.bz2
llvm-e150e2df424b162710b36a1ec5ef90270ffb435b.tar.xz
Add a ConstantDataVector::getSplatValue() method, for parity with
ConstantVector. Fix some outright bugs in the implementation of ConstantArray and Constant struct, which would cause us to not make one big UndefValue when asking for an array/struct with all undef elements. Enhance Constant::isAllOnesValue to work with ConstantDataVector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/SCCP.cpp')
0 files changed, 0 insertions, 0 deletions