commit | d01f50f42ce60207ed6d27fb1778e456d83be06c | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Sun Mar 06 03:36:19 2011 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Sun Mar 06 03:36:19 2011 +0000 |
tree | 6d7798f9ac99c0ec1b33f056715d3980fc92355f | |
parent | 511cab20cb6ef0575c961cbbcb86bb539b538a1c [diff] |
ConstantInt has some getters which return ConstantInt's or ConstantVector's of the value splatted into every element. Extend this to getTrue and getFalse which by providing new overloads that take Types that are either i1 or <N x i1>. Use it in InstCombine to add vector support to some code, fixing PR8469! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127116 91177308-0d34-0410-b5e6-96231b3b80d8