radeon/llvm: Fix lowering of vbuild
authorTom Stellard <thomas.stellard@amd.com>
Tue, 11 Sep 2012 19:24:32 +0000 (15:24 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 13 Sep 2012 14:38:02 +0000 (10:38 -0400)
commit6a5a4d59ce63aa1fa14d3dd6c50169c532424b6d
treeba0e1c5952a7969ae30fdf3be6c7d90bf2c73778
parent70a50685a8f7934e23978ac34dcefcfab46c69de
radeon/llvm: Fix lowering of vbuild

Some of the old AMDIL code was hard-coding subreg indices when creating
the VBUILD node, which was making it difficult to match the
vector_insert patterns.
src/gallium/drivers/radeon/AMDGPUISelLowering.cpp
src/gallium/drivers/radeon/AMDGPUISelLowering.h
src/gallium/drivers/radeon/AMDGPUInstructions.td
src/gallium/drivers/radeon/AMDILISelLowering.cpp
src/gallium/drivers/radeon/AMDILInstrInfo.td
src/gallium/drivers/radeon/R600Instructions.td
src/gallium/drivers/radeon/SIInstructions.td