commit | 071aade5f0e680c70fbfc824fef690537e93cf9b | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Jul 14 05:10:41 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Jul 14 05:10:41 2008 +0000 |
tree | fbc8b6dc02f21aafa75063401541c52846ae1544 | |
parent | ac77bfdbd4d83edbc17c9fd362b5d692cbbeff40 [diff] |
Document and fix Constant::getVectorElements to return an empty vector when presented with a constant expr. If ConstantExpr::getV[IF]Cmp to work when ConstantFoldCompareInstruction returns an undef or constant expr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53541 91177308-0d34-0410-b5e6-96231b3b80d8