[X86][SSE] Begun adding modulo rotate support to LowerRotate
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 5 Dec 2018 14:46:37 +0000 (14:46 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 5 Dec 2018 14:46:37 +0000 (14:46 +0000)
commit32483668d7104dab7a5e10b247fe047d6002d7fb
tree315e0233428cf3040a8cf0f7338badd6e622adf9
parent44a40046c8137638be12d0ca19eeb3cb3174ce56
[X86][SSE] Begun adding modulo rotate support to LowerRotate

Prep work for PR38243 - mainly adding comments on where we need to add modulo support (doing so at the moment causes massive codegen regressions).

I've also consistently added support for modulo folding for uniform constants (although at the moment we have no way to trigger this) and removed the old assertions.

llvm-svn: 348366
llvm/lib/Target/X86/X86ISelLowering.cpp