author | Benjamin Kramer <benny.kra@googlemail.com> | |
Sun, 21 Apr 2013 17:48:39 +0000 (17:48 +0000) | ||
committer | Benjamin Kramer <benny.kra@googlemail.com> | |
Sun, 21 Apr 2013 17:48:39 +0000 (17:48 +0000) | ||
commit | d81a0dee5b7df712c584e2a3e556ff2f0677e9df | |
tree | 6d20ddd17fed2dcb1e800f858d07667d0df71944 | tree | snapshot (tar.xz tar.gz zip) |
parent | 54d9a3e2df7055bd4d31a18b29f37c4541653efc | commit | diff |
SROA: Don't crash on a select with two identical operands.
This is an edge case that can happen if we modify a chain of multiple selects.
Update all operands in that case and remove the assert. PR15805.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179982 91177308-0d34-0410-b5e6-96231b3b80d8
This is an edge case that can happen if we modify a chain of multiple selects.
Update all operands in that case and remove the assert. PR15805.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179982 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SROA.cpp | diff | blob | history | |
test/Transforms/SROA/basictest.ll | diff | blob | history |