llvm-6502/lib
Ahmed Bougacha 8650883afb [AArch64] Use the source location of the IR branch when creating Bcc
from a conditional branch fed by an add/sub/mul-with-overflow node.

We previously used the SDLoc of the overflow node, for no good reason.
In some cases, this led to the Bcc and B terminators having different
source orders, and DBG_VALUEs being inserted between them.

The real issue is with the code that can't handle DBG_VALUEs between
terminators: the few places affected by this will be fixed soon.
In the meantime, fixing the SDLoc is a positive change no matter what.

No tests, as I have no idea how to get .loc emitted for branches?

rdar://19347133


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228463 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-06 23:15:39 +00:00
..
Analysis [InstSimplify] Add SimplifyFPBinOp function. 2015-02-06 20:02:51 +00:00
AsmParser IR: Allow 32-bits for lines in debug location 2015-02-06 22:50:13 +00:00
Bitcode IR: Initialize MDNode abbreviations en masse, NFC 2015-02-04 21:54:12 +00:00
CodeGen [LiveIntervalAnalysis] Speed up creation of live ranges for physical registers 2015-02-06 18:42:41 +00:00
DebugInfo Try to fix Makefile build for LLVMDebugInfoPDB. 2015-02-06 20:42:03 +00:00
ExecutionEngine [Orc] Move SectionMemoryManager's implementation from MCJIT to ExecutionEngine. 2015-02-06 19:36:40 +00:00
Fuzzer [fuzzer] move default sanitizer options to a separate file 2015-02-06 19:52:07 +00:00
IR IR: Allow 32-bits for lines in debug location 2015-02-06 22:50:13 +00:00
IRReader
LineEditor
Linker
LTO [LTO API] split lto_codegen_compile to lto_codegen_optimize and 2015-02-03 18:39:15 +00:00
MC Try to fix the build in MCValue.cpp 2015-02-05 01:23:14 +00:00
Object
Option
ProfileData InstrProf: Use a stable sort when reading coverage regions 2015-02-04 00:12:18 +00:00
Support Support: Add dwarf::getLanguage() 2015-02-06 22:55:13 +00:00
TableGen
Target [AArch64] Use the source location of the IR branch when creating Bcc 2015-02-06 23:15:39 +00:00
Transforms [msan] Fix "missing origin" in atomic store. 2015-02-06 21:47:39 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile