forked from OSchip/llvm-project
[AMDGPU] Return correct value from SDWA pass
Differential Revision: https://reviews.llvm.org/D33927 llvm-svn: 304805
This commit is contained in:
parent
6dc65e9105
commit
e4cda7417c
|
@ -786,8 +786,9 @@ bool SIPeepholeSDWA::runOnMachineFunction(MachineFunction &MF) {
|
|||
PotentialMatches.clear();
|
||||
SDWAOperands.clear();
|
||||
|
||||
bool Ret = !ConvertedInstructions.empty();
|
||||
while (!ConvertedInstructions.empty())
|
||||
legalizeScalarOperands(*ConvertedInstructions.pop_back_val());
|
||||
|
||||
return false;
|
||||
return Ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue