aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-10-29 22:03:05 +0000
committerBob Wilson <bob.wilson@apple.com>2010-10-29 22:03:05 +0000
commit822cb58d087ab67804037807e130273481b86137 (patch)
tree615e77dbe1edd2ba92973d3a4b39848a5d0094a9 /lib/MC/ELFObjectWriter.cpp
parent46455096bea2b6c81bb4b0226701524d2a9eb242 (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