<div dir="ltr">Hi Weiming,<div class="gmail_extra"><br></div><div class="gmail_extra">Looks like a silly omission. Patch LGTM.</div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers,</div><div class="gmail_extra">
--renato<br><br><div class="gmail_quote">On 25 September 2013 23:20, Weiming Zhao <span dir="ltr"><<a href="mailto:weimingz@codeaurora.org" target="_blank">weimingz@codeaurora.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">This patch fixes PR 17372: Emitting PLD instructions for stack address on ARM Thumb2. <u></u><u></u></p>
<p class="MsoNormal"> negativeOffsetOpcode(), positiveOffsetOpcode()<u></u><u></u></p><p class="MsoNormal"> and immediateOffsetOpcode() did not handle t2PLDi12, t2PLDi8 and<u></u><u></u></p><p class="MsoNormal"> t2PLDs, so an opcode of 0 is returned, which causes compiler crash in<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:9.0pt">debug build or missing PLD in release build.<u></u><u></u></p><p class="MsoNormal" style="text-indent:9.0pt"><u></u> <u></u></p><p class="MsoNormal" style="text-indent:9.0pt">
Please help to review it.<u></u><u></u></p><p class="MsoNormal" style="text-indent:9.0pt"><u></u> <u></u></p><p class="MsoNormal" style="text-indent:9.0pt">Note: there is a separate bug for PLD on ARM mode. However, the existing test case (prefetch.ll) runs for both ARM and Thumb. <u></u><u></u></p>
<p class="MsoNormal" style="text-indent:9.0pt">After David fixes the ARM mode issue, this test case can be merged back to prefetch.ll. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div></div>