[PATCH] [X86][SSE] Keep 4i32 vector insertions in integer domain on pre-SSE4.1 targets

Simon Pilgrim llvm-dev at redking.me.uk
Fri Dec 12 15:22:59 PST 2014


Right, I’m going to try and get this done.

Chandler - if you have no complaints I’d like to commit the additional X86vzmovl folded tests right away as it requires no alterations to codegen - its just adding missing tests.

For replacing the MOVQ+PSHUFD with an AND with constant mask  - is there a decent way of doing this in the X86InstrSSE.td patterns? I can’t fathom how I’d declare the constant vector, nor how I’d make it fold or pre-load the constant. I can add it to lowerVectorShuffleAsElementInsertion easily enough but its kind of missing the point.


http://reviews.llvm.org/D6526

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list