<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/85400>85400</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            mlir/lib/Transforms/InlinerPass.cpp:101: Suspicious condition ?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            mlir
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          dcb314
      </td>
    </tr>
</table>

<pre>
    mlir/lib/Transforms/InlinerPass.cpp:101:21: style: Same expression on both sides of '||'. [duplicateExpression]

 Region *callerRegion = resolvedCall.sourceNode->getCallableRegion();
 Region *calleeRegion = resolvedCall.targetNode->getCallableRegion();

 // We should not get external nodes here, but just return true
  // for now to preserve the original behavior of the inliner pass.

  if (!calleeRegion || !calleeRegion)
    return true;

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyckk9vnDwQxj_NcBkFmTEE9sBhkw3Se3lVNZV6NjALjrw28p9t8u0r72ZbpWqlqhIyYJif55nnUSHoxTL30DxAcyhUiqvz_TyNsqqL0c1v_cloDzQYPQINX7yy4ej8KQAN_1mjLftPKoRy2jaQ-0pUIPeUFwzxzXB-eFYnRn7dPIegnUVncXRxxaBnDuiOCNRC-5gvakuE5mFOm9GTivz0owqaA4gDiP11xc-8ZBbQflLGsL-9ywN6Ds6ceX5UxpTBJT_x_27mO5BPC8e8q0bD1wKgDmgH8uH3WP4TNiq_cPxb7DscaAAa8CtjWF0yM1oXceGI_BrZW2XQujySlT0DPeKYIr6kENFzTN5i9InfUTfW0Xm07htGh3lS7M-McWV0Xi86E0de1Vk7n-ecP-irZ7hl0z50hzo70QFVH6VfnMFftrO69zL80N5NcjH3ct7JnSq4r9pKNJWQRMXad0Tt2FDXkRCqVkpVO3HsuJ7re5KqvS90T4JqIaumknVDVDb3u0awPB7birluZqgFn5Q2pTHnU-n8UugQEvddUwtRGDWyCZc8E12zSznZvs-_341pCVALo0MMPwFRR8P_kHR8TmHTk3Yp4OTsrOM1LUORvOnXGLcAcn_1atFxTWM5uVM-w5xvt7vNuxeeItBw0ZHPu0j5HgAA__9OMySa">