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

    <tr>
        <th>Summary</th>
        <td>
            [llvm] constant_fold_fabs unreachable
        </td>
    </tr>

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

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

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

<pre>
    Tablegen raises the following error for `AMDGPUISel.td` and `AArch64.td` on recent main (https://github.com/llvm/llvm-project/commit/75632fec58b83a19cf4dc818931f452cff708822).

```
INFO: From Generating code from table: lib/Target/AMDGPU/AMDGPUGISel.td @llvm-project-overlay~17-init-bcr.3~llvm_project_overlay~llvm-project//llvm:amdgpu_isel_target_gen__ge
n_global_isel_combiner__combiners_AMDGPUPostLegalizerCombinerHelper_genrule:
error: Leaf constant_fold_fabs is unreachable
note: Leaf idempotent_prop will have already matched
error: Leaf constant_fold_fabs is unreachable
note: Leaf idempotent_prop will have already matched
INFO: From Generating code from table: lib/Target/AMDGPU/AMDGPUGISel.td @llvm-project-overlay~17-init-bcr.3~llvm_project_overlay~llvm-project//llvm:amdgpu_isel_target_gen__ge
n_global_isel_combiner__combiners_AMDGPUPreLegalizerCombinerHelper_genrule:
error: Leaf constant_fold_fabs is unreachable
note: Leaf idempotent_prop will have already matched
error: Leaf constant_fold_fabs is unreachable
note: Leaf idempotent_prop will have already matched
INFO: From Generating code from table: lib/Target/AArch64/AArch64.td @llvm-project-overlay~17-init-bcr.3~llvm_project_overlay~llvm-project//llvm:AArch64CommonTableGen__gen_gl
obal_isel_combiner__combiners_AArch64PreLegalizerCombinerHelper_genrule:
error: Leaf constant_fold_fabs is unreachable
note: Leaf idempotent_prop will have already matched
error: Leaf constant_fold_fabs is unreachable
note: Leaf idempotent_prop will have already matched
```


cc @arsenm 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsVU1r9DYQ_jXyRexiS_48-LDN4m0gbQNNz0YfI1tFlhZJTkgP-e3F9m6yhEIp9OU9vAEjj-XR6HnmGWZYCHqwAC0qfkLFMWFzHJ1vGfPOTs5KZhLu5Gv7xLiBASz2TAcIOI6AlTPGvWg7YPDeeaycx6hMD78cT49_3P8OZh8lKlPMrFz3D16MZX7ZdBZ7EGAjnpi2GJF6jPEcED0g0iHSDTqOM98LNyHSGfN8fe3O3v0JIiLSCTdNejGqoqREgShqXlOWNULlUtRZ3dBM5QURSlVpXROCSLNH6RGlh8tappdn_bz_tfsN0QPuvJvwCSx4Fhd2wknAatmMSxYWF6M5It0T8wMsADbK78bpQh6jPL3FvHPP4A17fcuqnbY67rjwe_q2uPQXl_7q8onrNQn0wCY5nOdeBzB9XAH0A9i-H2BjYfvBOM7M5iHcxLUF379bod9AProQH2BgRv8F_u7y82cwZ_BLQD-vTLeYq74L7wdgCgtnQ2Q29soZ2SvGA9YBz9YDE-OaoQ2Ii_B-RkuYzi6CjQvTM37RxuCRPQNmxgOTr3hiUYwgv9OFP5j2Hr6k_x-k3zrah_WtdL-Ev3PT5Ozaik-b7IvgG4t_kX0L8KX7zYWfuv_tKsQiI_MB7IQT2VLZ0IYl0GZlndd11lCajK1kEiBPS9UIBXVeVTlP6yYrMiozXpQi0S1JCU0LQgnJC0r3WZ5VFc-lyrmiaU5QnsLEtNkvOu-dHxIdwgxtSeqmSgzjYMJ1Mvt2LQ8-D2EpMR1i-DgWdTTrDF8Lpjj-U_5ukpfM3rT_ed6u2AIi3Qrv7wAAAP__N5vPQg">