R600: Consolidate expansion of v2i32/v4i32 ops for EG/SI
authorAaron Watry <awatry@gmail.com>
Tue, 25 Jun 2013 13:55:57 +0000 (13:55 +0000)
committerAaron Watry <awatry@gmail.com>
Tue, 25 Jun 2013 13:55:57 +0000 (13:55 +0000)
commitf97c7fef52098bbd6a7ccc69657d112a36d77660
tree6b5decd726dfc9928851e4247cf0bd63503c8363
parent69d3a40298ba2a20e86863a6583d1fd1fb9aaf14
R600: Consolidate expansion of v2i32/v4i32 ops for EG/SI

By default, we expand these operations for both EG and SI. Move the
duplicated code into a common space for now. If the targets ever actually
implement these operations as instructions, we can override that in the relevant
target.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184848 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
lib/Target/R600/R600ISelLowering.cpp
lib/Target/R600/SIISelLowering.cpp