[all-commits] [llvm/llvm-project] 32bc27: DebugInfo: Avoid some MMI::hasDebugInfo checks
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu Jul 25 23:03:38 PDT 2024
Branch: refs/heads/users/arsenm/remove-machinefunction-getmmi
Home: https://github.com/llvm/llvm-project
Commit: 32bc27b079c4959903edfb9b43dd705546985f06
https://github.com/llvm/llvm-project/commit/32bc27b079c4959903edfb9b43dd705546985f06
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
Log Message:
-----------
DebugInfo: Avoid some MMI::hasDebugInfo checks
I assume getSubprogram will do the correct thing in hasDebugInfo,
and this is redundant with the debug_compile_units distance check.
This is in preparation for removing the field.
Commit: 617affe3be282298f63bd99930d69d0a982113b8
https://github.com/llvm/llvm-project/commit/617affe3be282298f63bd99930d69d0a982113b8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/CodeGen/MachineModuleInfo.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
M llvm/lib/CodeGen/MachineModuleInfo.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/tools/llvm-reduce/ReducerWorkItem.cpp
M llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
M llvm/unittests/CodeGen/InstrRefLDVTest.cpp
M llvm/unittests/CodeGen/MFCommon.inc
M llvm/unittests/CodeGen/SelectionDAGAddressAnalysisTest.cpp
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
M llvm/unittests/Target/AMDGPU/ExecMayBeModifiedBeforeAnyUse.cpp
M llvm/unittests/Target/AMDGPU/PALMetadata.cpp
M llvm/unittests/Target/RISCV/RISCVInstrInfoTest.cpp
Log Message:
-----------
CodeGen: Remove MachineModuleInfo reference from MachineFunction
This avoids another unserializable field. Move the DbgInfoAvailable
field into the AsmPrinter, which is only really a cache/convenience
bit for checking a direct IR module metadata check.
Commit: 5a6b69c0395be2737a22de20b81b7e62489769f4
https://github.com/llvm/llvm-project/commit/5a6b69c0395be2737a22de20b81b7e62489769f4
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MIRPrinter.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
Log Message:
-----------
Remove forward declare of MachineModuleInfo
Commit: 896e8c52fddac7ab8d0ed189ac4083c4e043ba70
https://github.com/llvm/llvm-project/commit/896e8c52fddac7ab8d0ed189ac4083c4e043ba70
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Log Message:
-----------
Address comments
Compare: https://github.com/llvm/llvm-project/compare/35d1a903c5af...896e8c52fdda
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list