llvm-project/llvm/test
Weiming Zhao 5410edddb1 [ARM] Fix 28282: cost computation for constant hoisting
Summary:
This fixes bug: https://llvm.org/bugs/show_bug.cgi?id=28282

Currently the cost model of constant hoisting checks the bit width of the data type of the constants.
However, the actual immediate value is small enough and not need to be hoisted.
This patch checks for the actual bit width needed for the constant.

Reviewers: t.p.northover, rengolin

Subscribers: aemerson, rengolin, llvm-commits

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

llvm-svn: 274073
2016-06-28 22:30:45 +00:00
..
Analysis Support arbitrary addrspace pointers in masked load/store intrinsics 2016-06-28 18:27:25 +00:00
Assembler Support arbitrary addrspace pointers in masked load/store intrinsics 2016-06-28 18:27:25 +00:00
Bindings [OCaml] Add functions for accessing metadata nodes. 2016-06-22 03:30:24 +00:00
Bitcode BitcodeWriter: Remove redundant (and incorrect) check for whether to emit module summary. 2016-06-24 01:58:02 +00:00
BugPoint
CodeGen Relax the clearance calculating for breaking partial register dependency. 2016-06-28 21:19:34 +00:00
DebugInfo [SystemZ] Save/restore r6 and r7 if function contains landing pad. 2016-06-28 14:13:11 +00:00
Examples
ExecutionEngine ExecutionEngine: add preliminary support for COFF ARM 2016-06-24 14:11:44 +00:00
Feature IR: Introduce local_unnamed_addr attribute. 2016-06-14 21:01:22 +00:00
FileCheck Make check lines not match themselves. 2016-06-16 19:38:48 +00:00
Instrumentation [asan] Do not instrument accesses to profiling globals 2016-06-22 17:30:58 +00:00
Integer Make "@name =" mandatory for globals in .ll files. 2016-05-10 18:22:45 +00:00
JitListener
LTO Remangle intrinsics names when types are renamed 2016-06-24 15:10:29 +00:00
LibDriver
Linker Linker: Copy metadata when linking declarations. 2016-06-24 17:42:21 +00:00
MC [mips][micromips] Implement LD, LLD, LWU, SD, DSRL, DSRL32 and DSRLV instructions 2016-06-27 08:23:28 +00:00
Object Change all but the last ErrorOr<...> use for MachOUniversalBinary to Expected<...> to 2016-06-27 21:39:39 +00:00
ObjectYAML [YAML] Fix YAML tags appearing before the start of sequence elements 2016-06-28 21:10:26 +00:00
Other [PM] Improve the debugging and logging facilities of the CGSCC bits of 2016-06-27 23:26:08 +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
Transforms [ARM] Fix 28282: cost computation for constant hoisting 2016-06-28 22:30:45 +00:00
Unit
Verifier Verifier: Reject non-float !fpmath 2016-06-27 19:43:15 +00:00
YAMLParser
tools [lanai] Update ELF number to correspond to the assigned number. 2016-06-28 18:22:22 +00:00
.clang-format
CMakeLists.txt [cmake] Fix builds with LLVM_ENABLE_PIC=0 2016-06-02 16:29:07 +00:00
TestRunner.sh
lit.cfg test: Be consistent with clang's sanitizer lit config 2016-05-23 23:02:11 +00:00
lit.site.cfg.in Add the printing the Mach-O (__LLVM,__bundle) xar archive file section "verbosely" 2016-05-23 21:34:12 +00:00