mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-08 11:37:03 +00:00
AMDGPU: Fix broken condition causing warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260773 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
20f44b5628
commit
58bc131398
@ -1197,7 +1197,7 @@ SDValue SITargetLowering::LowerFrameIndex(SDValue Op, SelectionDAG &DAG) const {
|
||||
}
|
||||
|
||||
bool SITargetLowering::isCFIntrinsic(const SDNode *Intr) const {
|
||||
if (!Intr->getOpcode() == ISD::INTRINSIC_W_CHAIN)
|
||||
if (Intr->getOpcode() != ISD::INTRINSIC_W_CHAIN)
|
||||
return false;
|
||||
|
||||
switch (cast<ConstantSDNode>(Intr->getOperand(1))->getZExtValue()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user