commit | 4e3fdf2c0fc58af9b3b52924708a6d162a52ba5f | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon May 11 18:30:42 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon May 11 18:30:42 2009 +0000 |
tree | 390fc25c74076bdd1d05ab4219c24af6f57abee7 | |
parent | 0d9bb68d6d8a8a3ac07a2262b8062d88cba80ff4 [diff] |
When scalarizing a vector BITCAST, check whether the operand has vector type, rather than assume that it does. If the operand is not vector, it shouldn't be run through ScalarizeVectorOp. This fixes one of the testcases in PR3886. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71453 91177308-0d34-0410-b5e6-96231b3b80d8