summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PHIEliminationUtils.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-11-18 05:53:21 +0000
committerCraig Topper <craig.topper@intel.com>2018-11-18 05:53:21 +0000
commitf56a57518d8965697109b24dd83124c2064cc6e7 (patch)
treeca6a406ab846782761b6f0c5ee6002031d69f356 /llvm/lib/CodeGen/PHIEliminationUtils.h
parentab7781493d9edd2ad92e896ec310eb95dbf69d41 (diff)
downloadbcm5719-llvm-f56a57518d8965697109b24dd83124c2064cc6e7.tar.gz
bcm5719-llvm-f56a57518d8965697109b24dd83124c2064cc6e7.zip
[X86] Don't use a pmaddwd for vXi32 multiply if the inputs are zero extends from i8 or smaller without SSE4.1. Prefer to shrink the mul instead.
The zero extend will require two stages of unpacks to implement. So its better to shrink the multiply using pmullw and then extend that result back to v4i32 using a single unpack. llvm-svn: 347149
Diffstat (limited to 'llvm/lib/CodeGen/PHIEliminationUtils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud