llvm-6502/test
Akira Hatanaka 522cf235e9 Fix a bug in DemoteRegToStack where a reload instruction was inserted into the
wrong basic block.

This would happen when the result of an invoke was used by a phi instruction
in the invoke's normal destination block. An instruction to reload the invoke's
value would get inserted before the critical edge was split and a new basic
block (which is the correct insertion point for the reload) was created. This
commit fixes the bug by splitting the critical edge before all the reload
instructions are inserted.

Also, hoist up the code which computes the insertion point to the only place
that need that computation.

rdar://problem/15978721


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228566 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-09 06:38:23 +00:00
..
Analysis Bugfix: ScalarEvolution incorrectly assumes that the start of certain 2015-02-08 22:52:17 +00:00
Assembler IR: Allow 32-bits for lines in debug location 2015-02-06 22:50:13 +00:00
Bindings [OCaml] Add Llvm.build_empty_phi. 2015-02-06 13:42:03 +00:00
Bitcode
BugPoint
CodeGen Fix a bug in DemoteRegToStack where a reload instruction was inserted into the 2015-02-09 06:38:23 +00:00
DebugInfo MC: Emit COFF section flags in the "proper" order 2015-02-07 08:26:40 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation [msan] Fix "missing origin" in atomic store. 2015-02-06 21:47:39 +00:00
Integer
JitListener
Linker
LTO
MC MC: Calculate intra-section symbol differences correctly for COFF 2015-02-09 06:31:31 +00:00
Object
Other
SymbolRewriter
TableGen
tools Add code to llvm-objdump so the -section option with -macho will dump literal 2015-02-06 23:25:38 +00:00
Transforms DeadArgElim: fix mismatch in accounting of array return types. 2015-02-09 01:21:00 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh