[llvm-bugs] [Bug 33867] New: Minor code gen difference betwen debug and no-debug introduced by X86FixupBWInsts

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 20 17:26:34 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33867

            Bug ID: 33867
           Summary: Minor code gen difference betwen debug and no-debug
                    introduced by X86FixupBWInsts
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: Wolfgang_Pieb at playstation.sony.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18825
  --> https://bugs.llvm.org/attachment.cgi?id=18825&action=edit
Randomly generated and reduced test source

The attached C++ source exhibits a minor difference in code gen when
compiled with -g vs. without it. Not particularly important, probably
caused by the presence of DBG_VALUE instructions.

Compile with -O2 -g and with -O2 and examine the difference of the
objdump -d outputs:

37c37
<   72: 0f b7 44 24 ec          movzwl -0x14(%rsp),%eax
---
>   72: 66 8b 44 24 ec          mov    -0x14(%rsp),%ax

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170721/6c01f0d9/attachment.html>


More information about the llvm-bugs mailing list