llvm-6502/test
Benjamin Kramer 202be06318 X86: If we have an instruction that sets a flag and a zero test on the input of that instruction try to eliminate the test.
For example
	tzcntl	%edi, %ebx
	testl %edi, %edi
	je	.label

can be rewritten into
	tzcntl	%edi, %ebx
	jb 	.label

A minor complication is that tzcnt sets CF instead of ZF when the input
is zero, we have to rewrite users of the flags from ZF to CF. Currently
we recognize patterns using lzcnt, tzcnt and popcnt.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208788 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-14 16:14:45 +00:00
..
Analysis [Test] Trim unnecessary .c and .cpp from config.suffix in lit.local.cfg 2014-05-12 19:57:31 +00:00
Assembler Don't crash on redefinitions. 2014-05-09 21:49:17 +00:00
Bindings
Bitcode
BugPoint
CodeGen X86: If we have an instruction that sets a flag and a zero test on the input of that instruction try to eliminate the test. 2014-05-14 16:14:45 +00:00
DebugInfo Recommit r208506: DebugInfo: Include lexical scopes in inlined subroutines. 2014-05-14 01:08:28 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation [asan] Set debug location in ASan function prologue. 2014-05-14 10:30:15 +00:00
Integer
JitListener
Linker
LTO
MC [mips] Test that IAS for -mcpu=mips5 does not accept MIPS64 insns and -mcpu=mips(5|64) does not accept MIPS64r2 2014-05-14 15:35:03 +00:00
Object [obj2yaml] Support ELF input format in the obj2yaml tool. 2014-05-14 05:07:47 +00:00
Other
TableGen test/TableGen: Remove XFAIL:vg_leak out of 3 tests corresponding to r208293. 2014-05-09 08:18:33 +00:00
tools [Test] Trim unnecessary .c and .cpp from config.suffix in lit.local.cfg 2014-05-12 19:57:31 +00:00
Transforms Fix the case when reordering shuffle and binop produces a constant. 2014-05-14 09:05:09 +00:00
Unit
Verifier Allow sret on the second parameter as well as the first 2014-05-09 22:32:13 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh