llvm/test
Mandeep Singh Grang efde4d38ac Fix PR26655: Bail out if all regs of an inst BUNDLE have the correct kill flag
Summary:
While setting kill flags on instructions inside a BUNDLE, we bail out as soon
as we set kill flag on a register.  But we are missing a check when all the
registers already have the correct kill flag set. We need to bail out in that
case as well.

This patch refactors the old code and simply makes use of the addRegisterKilled
function in MachineInstr.cpp in order to determine whether to set/remove kill
on an instruction.

Reviewers: apazos, t.p.northover, pete, MatzeB

Subscribers: MatzeB, davide, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269092 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-10 17:57:27 +00:00
..
Analysis [BasicAA] Guard intrinsics don't write to memory 2016-05-10 02:35:41 +00:00
Assembler DebugInfo: Remove MDString-based type references 2016-04-23 21:08:00 +00:00
Bindings [OCaml] Update core test and re-enable testing 2016-05-10 11:19:20 +00:00
Bitcode AMDGPU/SI: Add amdgpu_kernel calling convention. Part 1. 2016-05-06 09:07:29 +00:00
BugPoint [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
CodeGen Fix PR26655: Bail out if all regs of an inst BUNDLE have the correct kill flag 2016-05-10 17:57:27 +00:00
DebugInfo [pdb] Parse the module info stream for each module. 2016-05-09 17:45:21 +00:00
Examples
ExecutionEngine [powerpc] mark JIT tests as UNSUPPORTED on powerpc64 big endian 2016-04-26 03:59:19 +00:00
Feature [NVVM] Remove noduplicate attribute from synchronizing intrinsics. 2016-03-22 22:08:01 +00:00
FileCheck
Instrumentation [MSan] [AArch64] Fix vararg helper for >1 or non-int fixed arguments. 2016-05-09 20:57:36 +00:00
Integer
JitListener [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
Linker DebugInfo: Remove MDString-based type references 2016-04-23 21:08:00 +00:00
LTO Allow the LTO code generator to strip invalid debug info from the input. 2016-05-09 19:57:15 +00:00
MC [mips][ias] Make the default path unreachable in needsRelocateWithSymbol() (except for N64). 2016-05-10 12:17:04 +00:00
Object Clean up the specific error message for a malformed Mach-O files with bad segment 2016-05-05 17:43:35 +00:00
Other Add opt-bisect support to additional passes that can be skipped 2016-05-03 22:32:30 +00:00
SymbolRewriter
TableGen Introduce a "patchable-function" function attribute 2016-04-19 05:24:47 +00:00
ThinLTO/X86 [ThinLTO] Add option to emit imports files for distributed backends 2016-05-10 15:54:09 +00:00
tools [ThinLTO] Add option to emit imports files for distributed backends 2016-05-10 15:54:09 +00:00
Transforms [PGO] resubmit r268969 2016-05-10 17:45:33 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:47:41 +00:00
Verifier Verifier: Verify that each inlinable callsite of a debug-info-bearing function 2016-04-24 22:23:13 +00:00
YAMLParser
.clang-format
CMakeLists.txt Moving llvm-test-depends and test-depends into the Tests folder; NFC, this simply cleans up the generated solution so that these targets don't live in the root folder of the IDE. 2016-04-12 15:09:14 +00:00
lit.cfg Add llvm-pdbdump to the tool substitutions list in lit. NFC. 2016-05-02 16:51:26 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:47:41 +00:00
TestRunner.sh