llvm-project/llvm/test/CodeGen
Matthias Braun aca625a4fe MachineInstr: Respect register aliases in clearRegiserKills()
This fixes bugs in copy elimination code in llvm. It slightly changes the
semantics of clearRegisterKills(). This is appropriate because:
- Users in lib/CodeGen/MachineCopyPropagation.cpp and
  lib/Target/AArch64RedundantCopyElimination.cpp and
  lib/Target/SystemZ/SystemZElimCompare.cpp are incorrect without it
  (see included testcase).
- All other users in llvm are unaffected (they pass TRI==nullptr)
- (Kill flags are optional anyway so removing too many shouldn't hurt.)

Differential Revision: http://reviews.llvm.org/D17554

llvm-svn: 261763
2016-02-24 19:21:48 +00:00
..
AArch64 [AArch64] Generate csinv instruction more often 2016-02-23 19:34:13 +00:00
AMDGPU AMDGPU: Add failing testcase for register coalescer 2016-02-22 23:45:42 +00:00
ARM ARM: sink atomic release barrier as far as possible into cmpxchg. 2016-02-22 20:55:50 +00:00
BPF Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
CPP
Generic Revert r261070, it caused PR26652 / PR26653. 2016-02-17 18:47:29 +00:00
Hexagon [Hexagon] Implement TLS support 2016-02-18 15:42:57 +00:00
Inputs
MIR When printing MIR, output to errs() rather than outs(). 2016-02-19 00:18:46 +00:00
MSP430 `MSP430InstrInfo::loadRegFromStackSlot` forgets to set register def. 2016-02-24 15:15:02 +00:00
Mips [MC][ELF] Handle MIPS specific .sdata and .sbss directives 2016-02-11 06:45:54 +00:00
NVPTX Don't tail-duplicate blocks that contain convergent instructions. 2016-02-22 17:50:52 +00:00
PowerPC Fix for PR26690 take 2 2016-02-22 18:04:00 +00:00
SPARC [SPARC] Revamp AnalyzeBranch and add ReverseBranchCondition. 2016-01-13 04:44:14 +00:00
SystemZ [SystemZ] Fix ABI for i128 argument and return types 2016-02-19 14:10:21 +00:00
Thumb [MC] Use .p2align instead of .align 2016-01-26 00:03:25 +00:00
Thumb2 [SCEV] Try to reuse existing value during SCEV expansion 2016-02-04 01:27:38 +00:00
WebAssembly Revert "[WebAssembly] Stackify code emitted by eliminateFrameIndex" 2016-02-23 22:13:21 +00:00
WinEH [WinEH] Visit 'unwind to caller' catchswitches nested in catchswitches 2016-02-23 07:18:15 +00:00
X86 MachineInstr: Respect register aliases in clearRegiserKills() 2016-02-24 19:21:48 +00:00
XCore [MC] Use .p2align instead of .align 2016-01-26 00:03:25 +00:00