1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test
Tom Stellard 22310389fc AMDGPU/SI: Avoid creating unnecessary copies in the SIFixSGPRCopies pass
Summary:
1. Don't try to copy values to and from the same register class.
2. Replace copies with of registers with immediate values with v_mov/s_mov
   instructions.

The main purpose of this change is to make MachineSink do a better job of
determining when it is beneficial to split a critical edge, since the pass
assumes that copies will become move instructions.

This prevents a regression in uniform-cfg.ll if we enable critical edge
splitting for AMDGPU.

Reviewers: arsenm

Subscribers: arsenm, kzhuravl, llvm-commits

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

llvm-svn: 287131
2016-11-16 18:42:17 +00:00
..
Analysis [CostModel][X86] Added mul costs for vXi8 vectors 2016-11-14 15:54:24 +00:00
Assembler
Bindings [C API] Prevent nullptr dereferences in C API for counting attributes. 2016-11-15 22:19:59 +00:00
Bitcode
BugPoint
CodeGen AMDGPU/SI: Avoid creating unnecessary copies in the SIFixSGPRCopies pass 2016-11-16 18:42:17 +00:00
DebugInfo
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [sancov] Name the global containing the main source file name 2016-11-16 16:50:43 +00:00
Integer
JitListener
LibDriver
Linker Linker: Remove unnecessary call to copyMetadata in IRLinker::linkGlobalVariable. 2016-11-14 23:18:38 +00:00
LTO Restore "[ThinLTO] Prevent exporting of locals used/defined in module level asm" 2016-11-14 17:12:32 +00:00
MC [mips] not instruction alias 2016-11-16 11:04:49 +00:00
Object [ELF] Convert ELF.h to Expected<T>. 2016-11-16 05:10:28 +00:00
ObjectYAML
Other
SymbolRewriter
TableGen TableGen: Add operator !or 2016-11-15 06:49:28 +00:00
ThinLTO/X86 [ThinLTO] Only promote exported locals as marked in index 2016-11-14 19:21:41 +00:00
tools test: use separate input file for test 2016-11-16 04:08:46 +00:00
Transforms [X86] Remove the scalar intrinsics for fadd/fsub/fdiv/fmul 2016-11-16 05:24:10 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg test: synchronise lit substitutions 2016-11-13 19:37:00 +00:00
lit.site.cfg.in
TestRunner.sh