<div dir="ltr">Is there a missing test case here?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 12, 2016 at 4:36 PM, Matt Arsenault via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: arsenm<br>
Date: Fri Feb 12 18:36:10 2016<br>
New Revision: 260773<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=260773&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=260773&view=rev</a><br>
Log:<br>
AMDGPU: Fix broken condition causing warning<br>
<br>
Modified:<br>
    llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp<br>
<br>
Modified: llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp?rev=260773&r1=260772&r2=260773&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp?rev=260773&r1=260772&r2=260773&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp (original)<br>
+++ llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp Fri Feb 12 18:36:10 2016<br>
@@ -1197,7 +1197,7 @@ SDValue SITargetLowering::LowerFrameInde<br>
 }<br>
<br>
 bool SITargetLowering::isCFIntrinsic(const SDNode *Intr) const {<br>
-  if (!Intr->getOpcode() == ISD::INTRINSIC_W_CHAIN)<br>
+  if (Intr->getOpcode() != ISD::INTRINSIC_W_CHAIN)<br>
     return false;<br>
<br>
   switch (cast<ConstantSDNode>(Intr->getOperand(1))->getZExtValue()) {<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>