commit | 83c05e5d30366d7c7e3d08e886dee89b1320ae7a | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Wed Sep 03 05:54:33 2008 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Wed Sep 03 05:54:33 2008 +0000 |
tree | 159bca772cbcb500a1fe373010f02b1181b5e51c | |
parent | b388eb82fb4a95e2f6d54163dfcf962b8032bae8 [diff] |
Don't crash when trying to constant fold a vector with some elements that can't be folded. Instead, fail to fold the entire vector. We could also return a vector with some elements folded and some not. If anyone thinks that's a better approach, please speak up! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55689 91177308-0d34-0410-b5e6-96231b3b80d8