OSDN Git Service

radeon/llvm: Avoid error with SI in EmitInstrWithCustomInserter()
authorTom Stellard <thomas.stellard@amd.com>
Thu, 24 May 2012 17:42:23 +0000 (13:42 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 24 May 2012 18:12:30 +0000 (14:12 -0400)
commitcc7a6d269170cc3668caa4f5af29228920e8d7a7
treead55dc567e3192ca2a5e049ef0ada86c45fa3eba
parent0f6a3a7de3b56a383061635016cdb10f0229bf02
radeon/llvm: Avoid error with SI in EmitInstrWithCustomInserter()

We need to return immediately after inserting instructions that require
S_WAITCNT so that the parent class' custom inserter won't try to insert
them again.
src/gallium/drivers/radeon/SIISelLowering.cpp