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

    <tr>
        <th>Summary</th>
        <td>
            Improve compiler warning to include the offending file when emitting error in RISCVTargetLowering
        </td>
    </tr>

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

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

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

<pre>
    the warning generated from:

https://github.com/llvm/llvm-project/blob/4ed543d414b6f39fb5302322eecb8abf33c76f89/llvm/lib/Target/RISCV/RISCVISelLowering.cpp#L94-L98


doesn't include the module name, which makes it hard to find which file error was coming from?

It might be okay with non-lto + non-parallel builds but it becomes hard to debug the problem otherwise.

Context: https://github.com/llvm/llvm-project/issues/69780#issuecomment-1781924485
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycUk2PnDAM_TXhYs0IksDAgcN-aKSR9tStek-IA-nmAyVh6f77CmZnOz22FztyZPv5vSdSMqNH7En9SOrnQix5CrGfTBTK5A9RyKA--jwhrCJ640cY0WMUGRXoGBxhD6R8JuVnnHKe01ajZ0LPo8nTIo9DcISerX2_pcMcw08cMqFnaYMk9MxR1ZwpXnHZaNZpWbOSMkoRB9kKqRkbTo1uu7s5Zuv7LuKI25xvl9enH7d8eUX7ElaMxo_HYZ4JZS8dP7x07T3Wa1QBkyf0lMH4wS4KYTvWBbVYBC8cEvoE62SGCZx4wwQmwySighxAG68-_7SxCBhjiLCKBENwG1dXhs73-y4ZnBmnDBIhvIkPWE2ewAd_sDkAoY_7exZRWIsW5GKsSiCXvC2WOASH6QuAQrmMO-A5BmnRQcgTxtUkPN4vfQo-469M2AP8s0ImpQUToeemO7UloWwvDME59PlQndqqo5y3daF6pjrWiQL76kSrjjfdqS6mXldCiW6QXFdMsk4PteSqqlvBmMKqVYXpaUl5eaI1payp6mNTc8q51qUsOXYcCS_RCWOPG7RjiGOxY-irsmwaVlgh0aabg2O_HyCXMRFeWpNy-tOXTbbYX9wcwztuKs3GYvzydg5_uSBojV7tQm7yrhN6QGdy3kpXsY2H3XJXI95MVyzR9v_P9Odd7z39HQAA__-mmy2S">