1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00
llvm-mirror/test
James Y Knight 5f31397e39 PR47468: Fix findPHICopyInsertPoint, so that copies aren't incorrectly inserted after an INLINEASM_BR.
findPHICopyInsertPoint special cases placement in a block with a
callbr or invoke in it. In that case, we must ensure that the copy is
placed before the INLINEASM_BR or call instruction, if the register is
defined prior to that instruction, because it may jump out of the
block.

Previously, the code placed it immediately after the last def _or
use_. This is wrong, if the use is the instruction which may jump.  We
could correctly place it immediately after the last def (ignoring
uses), but that is non-optimal for register pressure.

Instead, place the copy after the last def, or before the
call/inlineasm_br, whichever is later.

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

(cherry picked from commit f7a53d82c0902147909f28a9295a9d00b4b27d38)
2020-09-22 11:36:19 +02:00
..
Analysis [BasicAA] Fix -basicaa-recphi for geps with negative offsets 2020-07-27 17:02:13 +02:00
Assembler
Bindings
Bitcode Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-07-14 12:16:57 -07:00
BugPoint
CodeGen PR47468: Fix findPHICopyInsertPoint, so that copies aren't incorrectly inserted after an INLINEASM_BR. 2020-09-22 11:36:19 +02:00
DebugInfo Revert "RegAllocFast: Record internal state based on register units" 2020-09-15 19:12:48 +02:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [MSAN] Implement experimental vector reduction intrinsics 2020-07-14 00:12:10 +00:00
Integer
JitListener
Linker
LTO
MachineVerifier
MC [MC][SVE] Fix data operand for instruction alias of st1d. 2020-08-26 20:12:13 +00:00
Object [yaml2obj] - Rename FileHeader::SH* fields. 2020-07-15 12:47:31 +03:00
ObjectYAML
Other Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-07-14 12:16:57 -07:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [flang][openacc] OpenACC 3.0 parser 2020-07-14 14:29:40 -04:00
ThinLTO/X86 Restore "[WPD/LowerTypeTests] Delay lowering/removal of type tests until after ICP" 2020-07-14 12:16:57 -07:00
tools [llvm-rc] Allow string table values split into multiple string literals 2020-08-05 19:59:38 +02:00
Transforms Fix incorrect SimplifyWithOpReplaced transform (PR47322) 2020-09-15 10:21:08 +02:00
Unit
Verifier Temporarily Revert "[AssumeBundles] Use operand bundles to encode alignment assumptions" 2020-07-17 10:32:03 +02:00
YAMLParser
.clang-format
CMakeLists.txt Revert "[CMake] Simplify CMake handling for zlib" 2020-07-14 19:56:10 -07:00
lit.cfg.py
lit.site.cfg.py.in Revert "[CMake] Simplify CMake handling for zlib" 2020-07-14 19:56:10 -07:00
TestRunner.sh