1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/test
David Majnemer 89452fd5e9 [X86] Emit more efficient >= comparisons against 0
We don't do a great job with >= 0 comparisons against zero when the
result is used as an i8.

Given something like:
  void f(long long LL, bool *B) {
    *B = LL >= 0;
  }

We used to generate:
  shrq    $63, %rdi
  xorb    $1, %dil
  movb    %dil, (%rsi)

Now we generate:
  testq   %rdi, %rdi
  setns   (%rsi)

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

llvm-svn: 245498
2015-08-19 20:51:40 +00:00
..
Analysis Fix how DependenceAnalysis calls delinearization 2015-08-19 02:56:36 +00:00
Assembler [IR] Add token types 2015-08-14 05:09:07 +00:00
Bindings [OCaml] Do not use -warn-error in tests. 2015-07-17 17:33:23 +00:00
Bitcode [test] Testing write access to llvm 2015-08-14 17:42:50 +00:00
BugPoint Fix typo in comment 2015-07-26 11:37:05 +00:00
CodeGen [X86] Emit more efficient >= comparisons against 0 2015-08-19 20:51:40 +00:00
DebugInfo Minor tidying of regex in a test 2015-08-19 19:36:35 +00:00
ExecutionEngine [mips] Expand JAL instructions when PIC is enabled. 2015-08-18 16:18:09 +00:00
Feature [IR] Give catchret an optional 'return value' operand 2015-08-15 02:46:08 +00:00
FileCheck
Instrumentation [msan] Fix handling of musttail calls. 2015-08-14 22:03:50 +00:00
Integer
JitListener DI: Disallow uniquable DICompileUnits 2015-08-03 17:26:41 +00:00
LibDriver Add support for producing thin archives in llvm-lib. 2015-07-17 16:01:11 +00:00
Linker Make DW_AT_[MIPS_]linkage_name optional, and off by default for SCE. 2015-08-11 21:36:45 +00:00
LTO
MC [Sparc]: asm-only support for the ldstub instruction. 2015-08-19 19:30:57 +00:00
Object Add a test showing that objdump (and so ObjectFIle) can handle shndx. 2015-08-10 21:00:15 +00:00
Other Update test suite to make "ninja check" succeed without native backend builtin 2015-08-04 06:32:54 +00:00
SymbolRewriter
TableGen TableGen: Support folding casts from bits to int 2015-07-31 01:12:06 +00:00
tools Enable five passing dsymutil tests on Windows. 2015-08-11 06:05:27 +00:00
Transforms Revert "Fix PR24469 resulting from r245025 and re-enable dead store elimination across basicblocks." 2015-08-19 02:15:13 +00:00
Unit
Verifier [IR] Add token types 2015-08-14 05:09:07 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg Improve lit "native" feature to check if the native backend is builtin 2015-08-04 06:32:31 +00:00
lit.site.cfg.in Improve lit "native" feature to check if the native backend is builtin 2015-08-04 06:32:31 +00:00
Makefile
Makefile.tests
TestRunner.sh