aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSilviu Baranga <silviu.baranga@arm.com>2012-09-05 08:57:21 +0000
committerSilviu Baranga <silviu.baranga@arm.com>2012-09-05 08:57:21 +0000
commit3f40d872076064b7e7dcddd2ac7711396c1cb32c (patch)
tree83f9d5614ef4f01663a3691c09c648fc680d50a6 /clang/lib/Frontend/CompilerInvocation.cpp
parent1a5e423602a973b1b5fc3af0e948b692fa4c18e5 (diff)
downloadllvm-3f40d872076064b7e7dcddd2ac7711396c1cb32c.zip
llvm-3f40d872076064b7e7dcddd2ac7711396c1cb32c.tar.gz
llvm-3f40d872076064b7e7dcddd2ac7711396c1cb32c.tar.bz2
Fixed the DAG combiner to better handle the folding of AND nodes for vector types. The previous code was making the assumption that the length of the bitmask returned by isConstantSplat was equal to the size of the vector type. Now we first make sure that the splat value has at least the length of the vector lane type, then we only use as many fields as we have available in the splat value.
llvm-svn: 163203
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions