<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/136620>136620</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[DirectX] Legalize Lifetime markers
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
farzonl
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
farzonl
</td>
</tr>
</table>
<pre>
## Problem
We noticed many cases of DXC where we don't emit lifetime markers where clan-dxc does emit them. We were hesitant to allow these to pass on through because we weren't sure if they were correct.
## Solution
We have since determined that its likely that DXC is missing lifetime markers that it should be adding and so its likely safe to make a change in `llvm/lib/Target/DirectX/DXILOpLowering.cpp` to let lifetime intrinsics pass on through.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkkt9q3DwQxZ9GvhlibPnPZi98ke9bFgoLLbSQ3I7lsT2NLC0aOdvN0xettzSk4AvLPueMfkdCEZ4cUaea_5TWI4Z376zSWjWHDNc4-9DdP2a9H66d0pXSFXwLvre0qOLpmcD5yIYGWNBdwaCQgB_h8PI_XGYKBBeCwTuldxFo4QiWR4q8ECwYXinIXWYsuofhl4HBk2zKONOSw3OKCAQzCUd0EaIHtNZf0n-htDyjCHgHcQ5-nWboyeAqt9HJug2XNRDwmFzXLdH4EMjEHFTxlJ4N7ru3a2TvNroZ3wiEnSEYKFJY2NEAccYIHAUsv5K9buuEzAILi7Cb_uW8m0Bmv9oBegIchqREN4D4j3mC4w1swVcCBDOjmwjYgWoLa98WpY-We6WPPzBMFJU-HjihvKS3ly-nr-eTv1BgN-XmfFZtkcIsfSifXQzshI18bi_f2siGrhr21R4z6spd3ehd2TwW2dztcazKsW1bMm3VFLueSiwLs2_ax2a3r5uMO13opqh1qctqXxd52WLdlrpvm-ZxNFiquqAF2eYJJfdhylhkpa6s2lYXmcWerNzuZHPIQpdUD_06iaoLyxLlry9ytLfb-we_OcCJJrT8TnD6dADZGmw3x3gWVT0pfVT6OHGc1z43_tbovdg07hz8TzKp2NvWROnjfXdvnf4dAAD__74KE40">