[llvm-dev] LLVM trunk generates different machine code for JCC instruction w/ or w/o debug info

via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 12 05:54:00 PST 2021



> -----Original Message-----
> From: Fāng-ruì Sòng <maskray at google.com>
>
> For Zhiwei's original problem (JCC + .p2align 4, 0x90) difference
> (reported on
> https://urldefense.com/v3/__https://bugs.llvm.org/show_bug.cgi?id=42138*c1
> 3__;Iw!!JmoZiZGBv3RvKRSx!o6467bCa1WCYq1nD-KwTM4BSoOdHKduPY5Mb31KKDBULVU3-
> iSEfBxke46KpBozhxA$ ),
> I have found the root cause: an assembler optimization implemented in
> X86AsmBackend.
> I have attached more information on
> https://urldefense.com/v3/__https://reviews.llvm.org/D75203*2491618__;Iw!!
> JmoZiZGBv3RvKRSx!o6467bCa1WCYq1nD-KwTM4BSoOdHKduPY5Mb31KKDBULVU3-
> iSEfBxke46KPKI3GPg$
> 

Please mention this in PR42138 as well.
Thanks,
--paulr



More information about the llvm-dev mailing list