Add PPC vector bit-convert support

llvm-svn: 26995
This commit is contained in:
Chris Lattner 2006-03-23 19:54:27 +00:00
parent 3c43609f1f
commit 81137629e0
1 changed files with 3 additions and 0 deletions

View File

@ -1210,6 +1210,9 @@ def : Pat<(v4i32 (PPClve_x xoaddr:$src)),
def : Pat<(v4i32 (undef)), (v4i32 (IMPLICIT_DEF_VRRC))>;
// bit_convert
def : Pat<(v4i32 (bitconvert (v4f32 VRRC:$src))), (v4i32 VRRC:$src)>;
def : Pat<(v4f32 (bitconvert (v4i32 VRRC:$src))), (v4f32 VRRC:$src)>;
// Same as above, but using a temporary. FIXME: implement temporaries :)
/*