<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56076>56076</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[llvm-diff] False alarm on PHI node of identical modules
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Nuullll
</td>
</tr>
</table>
<pre>
Reproducer:
```bash
$ llvm-diff a.ll a.ll
in function foo:
in block %exit:
> %res = phi double [ 0.000000e+00, %entry ], [ %0, %else ]
< %res = phi double [ 0.000000e+00, %entry ], [ %0, %else ]
```
```llvm
; a.ll
define double @foo() {
entry:
br i1 true, label %else, label %exit
else:
%0 = extractelement <2 x double> zeroinitializer, i64 0
br label %exit
exit:
%res = phi double [ 0.000000e+00, %entry ], [ %0, %else ]
ret double 0.000000e+00
}
```
llvm version: head c5990d353e144bb490ce98be2e9d116fede978ca
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1k82O2yAQx5_Gvow2wvgrPvjQbLpqL1XVN8AwjmmJiQBvs336DuRjvVXb2yKEBwbP_PgPDFa99N_w5KxaJLqs_JCxfcZuY8MufRB-ui7xCox5Pj4oPY4gNsakYf2XnmFcZhm0JcPae0wA8gzGyh-Q8RrPOqxcAFn5MY68duhpsofTpEHZZTAIWb0DtmGpYcZ3jGX8MUWZg3sh9z7NaRet3X3GY3KtUjy-Z4q7XH_VMKp2XSp3K9EUjnrGO0bFomZ8m_EOsnZ32ZMYVmoNDnQBwS0YQYwY0Nxw3i5EkVcwacNrmHiSpAOegxMyoMEjpYo6cThfkWJdfqGzetZBC6PJjjl0UwFb8fw759tCv2OBHYZbvD9iXXDa_9Uplgee0Xm6toQLEwoFsu46psq6xKKqhqHqmMRuOyDHThVFM6LCrt1KcQmRq75UXdmJPOhgsCfc-1MhTHgSEVgY4Y5Ab-Prp88wW4VgR9CKDqqlMHCkl2jQ54sz_RTCyUft-BP1gw7TMmykPdIk3abL54Fe73eUgaba-wU9GXXD2iaf-rLYyoJhVUnVSl6gbMpGjXVXYTFWrWzyVDYfUTPOZ_wJKQTZBJzrnjPOWVO0rKgL3m7orB1vWSO2rN1WsqDbikehzSZybKw75K5PSMNy8OQ02gf_6hTe68OMSZkYXyxhsq7_siyGWp5S9wn9N5NtR7c">