llvm/lib
Tom Stellard a8fa4024a0 AMDGPU/SI: Improve register allocation hints for sopk instructions
Summary:
For shrinking SOPK instructions, we were creating a hint to tell the
register allocator to use the register allocated for src0 for the dst
operand as well.  However, this seems to not work sometimes depending
on the order virtual registers are assigned physical registers.

To fix this, I've added a second allocation hint which does the reverse,
asks that the register allocated for dst is used for src0.

Reviewers: arsenm

Subscribers: arsenm, llvm-commits, kzhuravl

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279968 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-29 13:06:10 +00:00
..
Analysis [Loop Vectorizer] Fixed memory confilict checks. 2016-08-28 08:53:53 +00:00
AsmParser [AsmParser] Placate a -Wmisleading-indentantion warning (GCC7). 2016-08-26 18:05:03 +00:00
Bitcode Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-08-25 00:45:04 +00:00
CodeGen Use the correct ctor/dtor section for dynamic-no-pic. 2016-08-29 12:47:22 +00:00
DebugInfo Remove unused translation unit. 2016-08-23 20:08:02 +00:00
ExecutionEngine Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-08-23 17:14:32 +00:00
Fuzzer [libFuzzer] simplify a test to make it pass on the bot 2016-08-26 00:18:16 +00:00
IR Make some LLVM_CONSTEXPR variables const. NFC. 2016-08-25 01:05:08 +00:00
IRReader
LibDriver
LineEditor
Linker Linker: Avoid some ridiculous indentation by using a temporary. NFC 2016-08-15 22:41:42 +00:00
LTO [LTO] Don't create a new common unless merged has different size 2016-08-27 04:41:22 +00:00
MC Move code only used by codegen out of MC. NFC. 2016-08-29 12:33:42 +00:00
Object Next set of additional error checks for invalid Mach-O files for bad LC_SYMTAB’s. 2016-08-26 19:34:07 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Option Replace "fallthrough" comments with LLVM_FALLTHROUGH 2016-08-17 05:10:15 +00:00
Passes [PM] Introduce basic update capabilities to the new PM's CGSCC pass 2016-08-24 09:37:14 +00:00
ProfileData Use range algorithms instead of unpacking begin/end 2016-08-11 21:15:00 +00:00
Support Implement getRandomBytes() function 2016-08-26 08:14:54 +00:00
TableGen Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-08-23 17:14:32 +00:00
Target AMDGPU/SI: Improve register allocation hints for sopk instructions 2016-08-29 13:06:10 +00:00
Transforms [InstCombine] use m_APInt to allow icmp (and X, Y), C folds for splat constant vectors 2016-08-28 18:18:00 +00:00
CMakeLists.txt
LLVMBuild.txt