[llvm-dev] Tail merging "undef" with a defined register: wrong code

Quentin Colombet via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 28 15:13:15 PDT 2017


> On Jul 28, 2017, at 2:17 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org> wrote:
> 
> On 7/28/2017 4:00 PM, Quentin Colombet wrote:
>> I am having a hard time seeing the problem from the example, shouldn’t we just put an implicit_def at the end of bb.0?
> 
> That should work actually, even in the general case. I overlooked something when I first said it wouldn’t.

Great!

> 
> -Krzysztof
> 
> -- 
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation



More information about the llvm-dev mailing list