Teach the ppc backend to use rol and vsldoi to generate splatted constants.
authorChris Lattner <sabre@nondot.org>
Mon, 17 Apr 2006 17:55:10 +0000 (17:55 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 17 Apr 2006 17:55:10 +0000 (17:55 +0000)
commitbdd558cd94a816df83526ab5e5d309f3fc0e210a
tree37cdb7f438df80ea28ae9b1a7ceb2edbe2fdc312
parent2f70c8cfa2accd0eef99b751964b002810837f0c
Teach the ppc backend to use rol and vsldoi to generate splatted constants.
This implements vec_constants.ll:test_vsldoi and test_rol

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27760 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp