[PATCH] D123599: [DebugInfo][InstrRef] Describe value sizes when spilt to stack
Jeremy Morse via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 25 04:56:43 PDT 2022
jmorse added inline comments.
================
Comment at: llvm/test/DebugInfo/MIR/X86/livedebugvalues_load_in_loop.mir:55
!5 = distinct !DIGlobalVariable(name: "start", scope: !0, file: !1, line: 4, type: !6, isLocal: false, isDefinition: true)
- !6 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
+ !6 = !DIBasicType(name: "int", size: 64, encoding: DW_ATE_signed)
!7 = !{i32 2, !"Dwarf Version", i32 4}
----------------
jmorse wrote:
> Orlando wrote:
> > What is this change for?
> I usually copy-and-paste metadata from other tests to avoid trimming it all over again, and then join it up with the IR / MIR that I want to test. Usually the size of the variable doesn't matter -- however
... for this test it does, and so I've corrected the variable size to be 64 bits, which is how the variable is used below.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123599/new/
https://reviews.llvm.org/D123599
More information about the llvm-commits
mailing list