]> granicus.if.org Git - llvm/commit
[CostModel][X86] Update vector shift tests to correctly check by non-constant uniform...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 15 Jan 2017 20:10:28 +0000 (20:10 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 15 Jan 2017 20:10:28 +0000 (20:10 +0000)
commit43b72e4d012cfd08599433f4eb2c3b69db8201ff
tree5a0263dc1f363d080591ca8a37284f20118b6522
parentfc76059402c0c77cf56b8c67ed76a0467aa0efad
[CostModel][X86] Update vector shift tests to correctly check by non-constant uniform values.

Use shuffle( scslar_to_vector, zeroinitializer) pattern instead of shuffle( vec, zeroinitializer)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292075 91177308-0d34-0410-b5e6-96231b3b80d8
test/Analysis/CostModel/X86/vshift-ashr-cost.ll
test/Analysis/CostModel/X86/vshift-lshr-cost.ll
test/Analysis/CostModel/X86/vshift-shl-cost.ll