llvm-project/llvm/test
Evan Cheng 104dbb0fd1 For x86, canonicalize max
(x > y) ? x : y
=>
(x >= y) ? x : y

So for something like
(x - y) > 0 : (x - y) ? 0
It will be
(x - y) >= 0 : (x - y) ? 0

This makes is possible to test sign-bit and eliminate a comparison against
zero. e.g.
subl   %esi, %edi
testl  %edi, %edi
movl   $0, %eax
cmovgl %edi, %eax
=>
xorl   %eax, %eax
subl   %esi, $edi
cmovsl %eax, %edi

rdar://10633221

llvm-svn: 147512
2012-01-04 01:41:39 +00:00
..
Analysis Change CaptureTracking to pass a Use* instead of a Value* when a value is 2011-12-28 23:24:21 +00:00
Archive Avoid writing to an arbitrary filename during the test run by writing to 2011-07-02 20:43:18 +00:00
Assembler Add an explicit test of the auto-upgrade functionality for the new 2011-12-12 11:23:11 +00:00
Bindings/Ocaml OCaml bindings: add some missing functions and testcases. 2011-10-14 20:38:33 +00:00
Bitcode remove some old autoupgrade logic 2011-11-27 06:10:54 +00:00
BugPoint
CodeGen For x86, canonicalize max 2012-01-04 01:41:39 +00:00
DebugInfo When recursing for the original size of a type, stop if we are at a 2011-12-16 23:42:45 +00:00
ExecutionEngine Excluding ARM JIT tests until someone can fix this compilation path. 2011-08-26 23:39:30 +00:00
Feature The powers that be have decided that LLVM IR should now support 16-bit 2011-12-17 00:04:22 +00:00
Instrumentation/AddressSanitizer [asan] one more test for asan instrumentation: (*a)++ should be instrumented only once. 2012-01-04 01:02:14 +00:00
Integer Remove support for parsing the "type i32" syntax for defining a numbered 2011-06-19 00:03:46 +00:00
Linker Now that PR11464 is fixed, reapply the patch to fix PR11464, 2011-12-20 00:12:26 +00:00
MC Add disassembler support for VPERMIL2PD and VPERMIL2PS. 2011-12-30 06:23:39 +00:00
Object Fixed ObjectFile functions: 2011-11-29 17:40:10 +00:00
Other Deleting the json-bench-test until I understand why it is flaky. 2011-12-17 06:29:32 +00:00
Scripts Fix the bitwidth of the remaining fields. 2011-08-04 17:00:11 +00:00
TableGen XFAIL test on leak checkers. 2011-10-24 17:24:05 +00:00
Transforms Fix SCEVExpander to handle loops with no preheader when LSR gives it a 2012-01-02 21:25:10 +00:00
Unit tests: Rip out a bunch of now unused test code relating to use of llvm-gcc in LLVM tests. 2011-10-27 20:59:26 +00:00
Verifier Teach the verifier to reject all non-constant arguments to the second 2011-12-12 04:36:02 +00:00
lib tests: Rip out a bunch of now unused test code relating to use of llvm-gcc in LLVM tests. 2011-10-27 20:59:26 +00:00
CMakeLists.txt Adds a JSON parser and a benchmark (json-bench) to catch performance regressions. 2011-12-16 13:09:10 +00:00
Makefile build/make/test: Get rid of unused BUGPOINT_TOPTS variable. 2011-11-16 23:56:03 +00:00
Makefile.tests
TestRunner.sh
lit.cfg test/lit.cfg: Enable the feature 'asserts' to check output of llc -version. 2011-11-28 05:09:15 +00:00
lit.site.cfg.in tests: Rip out a bunch of now unused test code relating to use of llvm-gcc in LLVM tests. 2011-10-27 20:59:26 +00:00
site.exp.in tests: Rip out a bunch of now unused test code relating to use of llvm-gcc in LLVM tests. 2011-10-27 20:59:26 +00:00