llvm-project/llvm/test
Taewook Oh 4cf5c1087c [BranchFolding] Update debug location along with the update of branch instruction.
Summary:
Currently, BranchFolder drops DebugLoc for branch instructions in some places. For example, for the test code attached, the branch instruction of 'entry' block has a DILocation of

```
!12 = !DILocation(line: 6, column: 3, scope: !11)
```

, but this information is gone when then block is lowered because BranchFolder misses it. This patch is a fix for this issue.

Reviewers: qcolombet, aprantl, craig.topper, MatzeB

Reviewed By: aprantl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D29902

llvm-svn: 295684
2017-02-21 00:12:38 +00:00
..
Analysis [PPC] Give unaligned memory access lower cost on processor that supports it 2017-02-17 22:29:39 +00:00
Assembler Move inline asm diags tests to an ARM directory. 2017-02-08 16:48:35 +00:00
Bindings
Bitcode IR: Function summary extensions for whole-program devirtualization pass. 2017-02-10 22:29:38 +00:00
BugPoint [IR/Verifier] List the CU we weren't able to find in `llvm.dbg.cu`. 2017-02-20 22:51:42 +00:00
CodeGen [BranchFolding] Update debug location along with the update of branch instruction. 2017-02-21 00:12:38 +00:00
DebugInfo [IR/Verifier] Don't visit DISubprograms more than needed. 2017-02-18 03:02:44 +00:00
Examples
ExecutionEngine RuntimeDyldELF/AArch64: Implement basic GOT support 2017-02-06 15:31:28 +00:00
Feature Add intrinsics for constrained floating point operations 2017-01-26 23:27:59 +00:00
FileCheck
Instrumentation opt: Rename -default-data-layout flag to -data-layout and make it always override the layout. 2017-02-17 17:36:52 +00:00
Integer
JitListener
LTO Implement intrinsic mangling for literal struct types. 2017-02-15 23:16:20 +00:00
LibDriver
Linker Verifier: Disallow a line number without a file in DISubprogram 2017-02-17 23:57:42 +00:00
MC [mips] Add test for mul macro variants 2017-02-20 10:53:03 +00:00
Object test: adjust the test for the BSD format 2017-02-09 20:06:30 +00:00
ObjectYAML Attempt to fix the testcase in r292824 2017-01-23 20:42:17 +00:00
Other s/REQUIRES: Asserts/REQUIRES: asserts/ 2017-02-19 23:26:00 +00:00
SymbolRewriter
TableGen [globalisel] OperandPredicateMatcher's shouldn't need to generate the MachineOperand expr. NFC 2017-02-20 15:30:43 +00:00
ThinLTO/X86 Verifier: Disallow a line number without a file in DISubprogram 2017-02-17 23:57:42 +00:00
Transforms [SLP] Additional test for vectorization of cal/invoke args vectorization 2017-02-20 12:41:16 +00:00
Unit
Verifier [IR/Verifier] List the CU we weren't able to find in `llvm.dbg.cu`. 2017-02-20 22:51:42 +00:00
YAMLParser
tools [XRAY] [x86_64] Adding a Flight Data filetype reader to the llvm-xray Trace implementation. 2017-02-17 01:47:16 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg
lit.site.cfg.in