summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-11-06 23:16:48 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-11-06 23:16:48 +0000
commitb49eb3ab4b7563d97a871dcd7dae4bd383c6c42f (patch)
tree49767fd310390154e5bf0716c76c4b38f6fcf9c5 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent05a0514b12d07be4e7dd959dac9bdfb5204f213a (diff)
downloadbcm5719-llvm-b49eb3ab4b7563d97a871dcd7dae4bd383c6c42f.tar.gz
bcm5719-llvm-b49eb3ab4b7563d97a871dcd7dae4bd383c6c42f.zip
[X86] Fold (trunc (i32 (zextload i16))) into vbroadcast.
When matching non-LSB-extracting truncating broadcasts, we now insert the necessary SRL. If the scalar resulted from a load, the SRL will be folded into it, creating a narrower, offset, load. However, i16 loads aren't Desirable, so we get i16->i32 zextloads. We already catch i16 aextloads; catch these as well. llvm-svn: 252363
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud