radeon/llvm: Declare the interpolation intrinsics as ReadOnly
authorTom Stellard <thomas.stellard@amd.com>
Wed, 29 Aug 2012 13:58:28 +0000 (09:58 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 29 Aug 2012 19:52:10 +0000 (15:52 -0400)
commitcf4ac69928eb17685958e6b3b01b97544560d90e
tree53e8f08191ca6b371fa46665b1582d9515aaf390
parent73a2c4b9db638cad83e412097ed3433649aab47b
radeon/llvm: Declare the interpolation intrinsics as ReadOnly

This signals to the Dead Code Elimination pass that it is safe to
remove these instructions when they are dead.
src/gallium/drivers/radeon/SIInstrInfo.td
src/gallium/drivers/radeon/SIIntrinsics.td
src/gallium/drivers/radeonsi/radeonsi_shader.c