1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test
James Molloy 9342eb300f [Thumb] Select a BIC instead of AND if the immediate can be encoded more optimally negated
If an immediate is only used in an AND node, it is possible that the immediate can be more optimally materialized when negated. If this is the case, we can negate the immediate and use a BIC instead;

  int i(int a) {
    return a & 0xfffffeec;
  }

Used to produce:
    ldr r1, [CONSTPOOL]
    ands r0, r1
  CONSTPOOL: 0xfffffeec

And now produces:
    movs    r1, #255
    adds    r1, #20  ; Less costly immediate generation
    bics    r0, r1

llvm-svn: 272251
2016-06-09 07:39:08 +00:00
..
Analysis Be wary of abnormal exits from loop when exploiting UB 2016-06-09 01:13:59 +00:00
Assembler [DebugInfo] Add calling convention support for DWARF and CodeView 2016-06-08 20:34:29 +00:00
Bindings
Bitcode [BitCode] Make sure atomicrmw's argument is an actual PointerType 2016-06-05 18:43:40 +00:00
BugPoint
CodeGen [Thumb] Select a BIC instead of AND if the immediate can be encoded more optimally negated 2016-06-09 07:39:08 +00:00
DebugInfo [codeview] Skip DIGlobalVariables with no variable 2016-06-09 00:29:00 +00:00
Examples
ExecutionEngine
Feature Update the stack coloring pass to remove lifetime intrinsics in the optnone/opt-bisect skip case. 2016-05-27 22:56:49 +00:00
FileCheck Fix windows build bot failure 2016-05-28 00:03:35 +00:00
Instrumentation [esan|wset] Optionally assume intra-cache-line accesses 2016-06-03 22:29:52 +00:00
Integer
JitListener
LibDriver
Linker ValueMapper: fix assertion when null-mapping a constant for linking metadata 2016-05-28 17:26:03 +00:00
LTO
MC test: fix typo 2016-06-09 03:14:32 +00:00
Object [mips] Remove CPU-only triples from llvm-objdump commands. 2016-06-03 10:22:22 +00:00
ObjectYAML [yaml2obj] Sort MachO LinkEdit write operations based on offset 2016-06-03 16:58:05 +00:00
Other [PM] Schedule InstSimplify after late LICM run, to clean up LCSSA nodes. 2016-06-02 22:14:26 +00:00
SymbolRewriter
TableGen [Target] Introduce a generic opcode for bitwise OR: G_OR. 2016-06-08 16:12:19 +00:00
ThinLTO/X86 [ThinLTO] Resolve LinkOnceAny 2016-05-26 14:16:52 +00:00
tools [ThinLTO/gold] Enable summary-based internalization 2016-06-09 01:14:13 +00:00
Transforms Be wary of abnormal exits from loop when exploiting UB 2016-06-09 01:13:59 +00:00
Unit
Verifier [IR] Disallow loading and storing unsized types 2016-06-01 16:13:10 +00:00
YAMLParser
.clang-format
CMakeLists.txt [cmake] Fix builds with LLVM_ENABLE_PIC=0 2016-06-02 16:29:07 +00:00
lit.cfg
lit.site.cfg.in
TestRunner.sh