R600: Optimize and cleanup KILL on SI
authorTom Stellard <thomas.stellard@amd.com>
Fri, 18 Jan 2013 21:15:50 +0000 (21:15 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 18 Jan 2013 21:15:50 +0000 (21:15 +0000)
commit935a91540b7aa8f29ea48fe2df657db0ce5b7d5d
tree4bb7bdd0dd219a108d1241937e852e1ba455691c
parent956f13440a4aa0297606a4412f4aa091d931592a
R600: Optimize and cleanup KILL on SI

We shouldn't insert KILL optimization if we don't have a
kill instruction at all.

Patch by: Christian König

Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172845 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIISelLowering.h
lib/Target/R600/SIInstructions.td
lib/Target/R600/SILowerControlFlow.cpp