1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Ahmed Bougacha 19e9dd095d [AArch64][ARM] Don't base interleaved op legality on type alloc size.
Otherwise, we think that most types that look like they'd fit in a
legal vector type are legal (so, basically, *any* vector type with a
size between 33 and 128 bits, I think, since we use pow2 alignment;
e.g., v2i25, v3f32, ...).

DataLayout::getTypeAllocSize rounds up based on alignment.
When checking for target intrinsic legality, that's not what we want:
if rounding makes a difference, the type isn't legal, and the
target intrinsics shouldn't be used, as they are always assumed legal.

One could make the argument that alloc size is ultimately the most
relevant here, since we're dealing with LD/ST intrinsics. That's only
true if we did legalize them though; that's a problem for another day.

Use DataLayout::getTypeSizeInBits instead of getTypeAllocSizeInBits.
Type::getSizeInBits can't be used because that'd gratuitously break
pointer vector support.

Some of these uses are currently fine, because we only hit them when
the type is already known legal (e.g., r114454). Update them for
consistency. It's faster to avoid the rounding anyway!

llvm-svn: 255089
2015-12-09 01:19:50 +00:00
..
Analysis Don't punish vectorized arithmetic instruction whose type will be split to multiple registers 2015-12-04 00:36:58 +00:00
Assembler AsmParser: Make the code for parsing unnamed aliases more closely resemble that for unnamed globals. 2015-11-25 02:54:07 +00:00
Bindings
Bitcode
BugPoint
CodeGen [AArch64][ARM] Don't base interleaved op legality on type alloc size. 2015-12-09 01:19:50 +00:00
DebugInfo dwarfdump: Correctly indentify the indicies for DWP records 2015-12-03 18:41:59 +00:00
Examples
ExecutionEngine [RuntimeDyld] Don't allocate unnecessary stub buffer space 2015-11-23 21:47:51 +00:00
Feature Have 'optnone' respect the -fast-isel=false option. 2015-11-30 21:56:16 +00:00
FileCheck
Instrumentation Create llvm.global_ctors in the new format. 2015-12-06 16:18:25 +00:00
Integer
JitListener
LibDriver
Linker Add a test showing that we internalize lazily linked GVs. 2015-12-08 02:38:14 +00:00
LTO [LTO] Add options to llvm-lto to select output format and dump merged module 2015-11-20 00:13:05 +00:00
MC X86: produce more friendly errors during MachO relocation handling 2015-12-08 18:31:35 +00:00
Object Stabilize llvm/test/Object/archive-update.test a bit. 2015-12-07 23:15:57 +00:00
Other [llc/opt] Add an option to run all passes twice 2015-12-04 21:56:46 +00:00
SymbolRewriter
TableGen Add new vector types for 512-, 1024- and 2048-bit vectors 2015-11-24 13:07:35 +00:00
tools [llvm-dwp] Restructure inputs for test case so they're all grouped together 2015-12-07 18:46:41 +00:00
Transforms Don't drop attributes when inlining through "deopt" operand bundles 2015-12-09 01:01:28 +00:00
Unit
Verifier [Verifier] Fix !dbg validation if Scope is the Subprogram 2015-12-06 23:05:38 +00:00
YAMLParser
.clang-format
CMakeLists.txt [llvm-dwp] Add missing dependency from llvm tests on the llvm-dwp tool 2015-12-01 00:57:05 +00:00
lit.cfg check-llvm: Introduce the new feature "tls". 2015-12-01 01:14:58 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh