1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/test
Sanjay Patel 49dad7926f [x86] fix allowsMisalignedMemoryAccess() implementation
This patch fixes the x86 implementation of allowsMisalignedMemoryAccess() to correctly
return the 'Fast' output parameter for 32-byte accesses. To test that, an existing load
merging optimization is changed to use the TLI hook. This exposes a shortcoming in the
current logic and results in the regression test update. Changing other direct users of
the isUnalignedMem32Slow() x86 CPU attribute would be a follow-on patch.

Without the fix in allowsMisalignedMemoryAccesses(), we will infinite loop when targeting
SandyBridge because LowerINSERT_SUBVECTOR() creates 32-byte loads from two 16-byte loads
while PerformLOADCombine() splits them back into 16-byte loads.

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

llvm-svn: 245075
2015-08-14 17:53:40 +00:00
..
Analysis Emit argmemonly attribute for intrinsics. 2015-08-13 17:40:04 +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] fix allowsMisalignedMemoryAccess() implementation 2015-08-14 17:53:40 +00:00
DebugInfo Make DW_AT_[MIPS_]linkage_name optional, and off by default for SCE. 2015-08-11 21:36:45 +00:00
ExecutionEngine [mips][mcjit] Calculate correct addend for HI16 and PCHI16 reloc 2015-08-13 15:12:49 +00:00
Feature [IR] Verify EH pad predecessors 2015-08-11 02:48:30 +00:00
FileCheck
Instrumentation [sancov] Leave llvm.localescape in the entry block 2015-08-14 16:45:42 +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 Revert "Centralize the information about which object format we are using." 2015-08-14 15:48:41 +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 Cleanup test whitespace or lack thereof. NFC. 2015-08-14 16:34:15 +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