diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-10-29 22:03:05 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-10-29 22:03:05 +0000 |
commit | 822cb58d087ab67804037807e130273481b86137 (patch) | |
tree | 615e77dbe1edd2ba92973d3a4b39848a5d0094a9 /lib/MC/ELFObjectWriter.cpp | |
parent | 46455096bea2b6c81bb4b0226701524d2a9eb242 (diff) |
Change instcombine's getShuffleMask to represent undef with negative values.
This code had previously used 2*N, where N is the mask length, to represent
undef. That is not safe because the shufflevector operands may have more
than N elements -- they don't have to match the result type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions