aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-02-16 21:36:29 +0000
committerCraig Topper <craig.topper@intel.com>2018-02-16 21:36:29 +0000
commit27b9ac2372e5340fe92196f47cb31ed72d367aa4 (patch)
tree329b39630aa958f21d41080911678820c8f1a7fb /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent331f97e171f36ceaf25cdb6c573510cd7c45d358 (diff)
downloadllvm-27b9ac2372e5340fe92196f47cb31ed72d367aa4.zip
llvm-27b9ac2372e5340fe92196f47cb31ed72d367aa4.tar.gz
llvm-27b9ac2372e5340fe92196f47cb31ed72d367aa4.tar.bz2
[X86] In lowerVSELECTtoVectorShuffle, don't map undef select condition to undef in shuffle mask.
Undef in select condition means we should pick the element from one side or the other. An undef in a shuffle mask means pick any element from either source or worse. I suspect by the time we get here most of the undefs in a constant vector have been removed by other things, but doing this for safety. llvm-svn: 325394
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions