Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [DebugInfo] In FastISel, convert llvm.dbg.label to DBG_LABEL MI. | Hsiangkai Wang | 2018-08-18 | 1 | -2/+2 |
| | | | | | | | | Convert llvm.dbg.label(!label_metadata) to DBG_LABEL !label_metadata. Differential Revision: https://reviews.llvm.org/D50622 llvm-svn: 340122 | ||||
* | [DebugInfo] Mark tests using -debug-only as REQUIRES: asserts | Benjamin Kramer | 2018-05-09 | 1 | -0/+1 |
| | | | | llvm-svn: 331865 | ||||
* | [DebugInfo] Fix test failed due to debug-label-mi.ll and debug-label-opt.ll | Shiva Chen | 2018-05-09 | 1 | -2/+2 |
| | | | | | | | | | | Make these two test cases more generic for other architectures. Please refer to '[DebugInfo] Convert intrinsic llvm.dbg.label to MachineInstr.' Patch by Hsiangkai Wang llvm-svn: 331853 | ||||
* | [DebugInfo] Convert intrinsic llvm.dbg.label to MachineInstr. | Shiva Chen | 2018-05-09 | 1 | -0/+58 |
In order to convert LLVM IR to MachineInstr, we need a new TargetOpcode, DBG_LABEL, to ‘lower’ intrinsic llvm.dbg.label. The patch creates this new TargetOpcode and convert intrinsic llvm.dbg.label to MachineInstr through SelectionDAG. In SelectionDAG, debug information is stored in SDDbgInfo. We create a new data member of SDDbgInfo for labels and use the new data member, SDDbgLabel, to create DBG_LABEL MachineInstr. The new DBG_LABEL MachineInstr uses label metadata from LLVM IR as its parameter. So, the backend could get metadata information of labels from DBG_LABEL MachineInstr. Differential Revision: https://reviews.llvm.org/D45341 Patch by Hsiangkai Wang. llvm-svn: 331842 |