mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[scan-build] fix dead store warnings emitted on LLVM AMDGPU code base
This fixes dead store warnings of the type "dead assignment" reported by Clang Static Analyzer.
This commit is contained in:
parent
a93c5df5e6
commit
45cf93703e
@ -4563,7 +4563,6 @@ SDValue SITargetLowering::LowerBRCOND(SDValue BRCOND,
|
||||
};
|
||||
SDValue NewBR = DAG.getNode(ISD::BR, DL, BR->getVTList(), Ops);
|
||||
DAG.ReplaceAllUsesWith(BR, NewBR.getNode());
|
||||
BR = NewBR.getNode();
|
||||
}
|
||||
|
||||
SDValue Chain = SDValue(Result, Result->getNumValues() - 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user