llvm-project/llvm/test
Stanislav Mekhanoshin 1384c3a5b8 [AMDGPU] Fix illegal agpr use by VALU
When SIFixSGPRCopies attempts to fix an illegal copy from vector to
scalar register it calls moveToVALU(). A copy from an agpr to sgpr
becomes a copy from agpr to agpr, which may result in the illegal
register class at a use of this copy.

Solution is to copy it always into a vgpr. This may result in a
subsequent copy into an agpr if that is what really needed, however
should not happen too often and likely will be folded later.

The opposite situation may not happen because an sgpr is always
illegal where agpr is legal, so such user instructions may not
exist.

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

llvm-svn: 373544
2019-10-02 23:23:46 +00:00
..
Analysis [MemorySSA] Update Phi creation when inserting a Def. 2019-10-02 18:42:33 +00:00
Assembler
Bindings Improve C API support for atomicrmw and cmpxchg. 2019-09-26 00:58:55 +00:00
Bitcode [IR] allow fast-math-flags on phi of FP values (2nd try) 2019-09-25 14:35:02 +00:00
BugPoint
CodeGen [AMDGPU] Fix illegal agpr use by VALU 2019-10-02 23:23:46 +00:00
DebugInfo DebugInfo: Update support for detecting C++ language variants in debug info emission 2019-10-02 01:39:48 +00:00
Demangle llvm-undname: Add support for demangling typeinfo names 2019-09-23 13:13:37 +00:00
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation Handle llvm.launder.invariant.group in msan. 2019-10-02 19:53:19 +00:00
Integer
JitListener
LTO
Linker
MC Revert "[MC] Emit unused undefined symbol even if its binding is not set" 2019-09-30 18:13:48 +00:00
MachineVerifier Add an operand to memory intrinsics to denote the "tail" marker. 2019-09-28 05:33:21 +00:00
Object [llvm-ar][test] Move MRI tests from "llvm/test/Object/" 2019-09-26 12:32:11 +00:00
ObjectYAML
Other
Reduce [Testing] Python 3 requires `print` to use parens 2019-09-20 13:52:47 +00:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Emit OperandType enums for RegisterOperands/RegisterClasses 2019-09-23 18:51:00 +00:00
ThinLTO/X86 [ThinLTO/WPD] Ensure devirtualized targets use promoted symbol when necessary 2019-10-02 16:36:59 +00:00
Transforms [InstCombine] Bypass high bit extract before variable sign-extension (PR43523) 2019-10-02 23:02:12 +00:00
Unit
Verifier [Verifier] add invariant check for callbr 2019-09-25 22:28:27 +00:00
YAMLParser
tools [llvm-readelf] - Report a warning when .hash section contains a chain with a cycle. 2019-10-02 14:11:35 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py Reland "[utils] Implement the llvm-locstats tool" 2019-10-02 07:00:01 +00:00
lit.site.cfg.py.in