diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-01-27 18:45:30 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-01-27 18:45:30 +0000 |
commit | f09a357765de1f6c868c83a54d3070928996db9e (patch) | |
tree | 95067740823e34ccd10240d64e0c0c3f13c4abb8 /lldb/scripts/Python | |
parent | 1c66c3a7f2a4480afff1590a0d58482ef1e85391 (diff) | |
download | llvm-f09a357765de1f6c868c83a54d3070928996db9e.zip llvm-f09a357765de1f6c868c83a54d3070928996db9e.tar.gz llvm-f09a357765de1f6c868c83a54d3070928996db9e.tar.bz2 |
[DAGCombiner] Teach how to fold sext/aext/zext of constant build vectors.
This patch teaches the DAGCombiner how to fold a sext/aext/zext dag node when
the operand in input is a build vector of constants (or UNDEFs).
The inability to fold a sext/zext of a constant build_vector was the root
cause of some pcg bugs affecting vselect expansion on x86-64 with AVX support.
Before this change, the DAGCombiner only knew how to fold a sext/zext/aext of a
ConstantSDNode.
llvm-svn: 200234
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions