1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib
Dylan McKay 185390d230 Relax unaligned access assertion when type is byte aligned
Summary:
This relaxes an assertion inside SelectionDAGBuilder which is overly
restrictive on targets which have no concept of alignment (such as AVR).

In these architectures, all types are aligned to 8-bits.

After this, LLVM will only assert that accesses are aligned on targets
which actually require alignment.

This patch follows from a discussion on llvm-dev a few months ago
http://llvm.1065342.n5.nabble.com/llvm-dev-Unaligned-atomic-load-store-td112815.html

Reviewers: bogner, nemanjai, joerg, efriedma

Reviewed By: efriedma

Subscribers: efriedma, cactus, llvm-commits

Differential Revision: https://reviews.llvm.org/D39946

llvm-svn: 320243
2017-12-09 06:45:36 +00:00
..
Analysis Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
AsmParser Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
BinaryFormat
Bitcode Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
CodeGen Relax unaligned access assertion when type is byte aligned 2017-12-09 06:45:36 +00:00
DebugInfo dwarfdump: Add support for the --diff option. 2017-12-08 23:32:47 +00:00
Demangle
ExecutionEngine Fix 'not all control paths return a value' warning on MSVC builds 2017-11-09 14:56:17 +00:00
Fuzzer
FuzzMutate [FuzzMutate] Correctly insert sinks and sources around invoke instructions 2017-12-08 08:53:16 +00:00
IR Hardware-assisted AddressSanitizer (llvm part). 2017-12-09 00:21:41 +00:00
IRReader
LineEditor
Linker
LTO Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
MC [AVR] Override ParseDirective 2017-12-07 06:56:09 +00:00
Object Reverting r320166 to fix test failures. 2017-12-08 19:09:26 +00:00
ObjectYAML Update obj2yaml and yaml2obj for .debug$H section. 2017-12-06 18:58:48 +00:00
Option
Passes Add a new pass to speculate around PHI nodes with constant (integer) operands when profitable. 2017-11-28 11:32:31 +00:00
ProfileData [Coverage] Scan ahead for the most-recent completed count (PR35495) 2017-12-07 00:01:15 +00:00
Support [AArch64] Add Exynos to host detection 2017-12-08 21:09:59 +00:00
TableGen [TableGen] Give the option of tolerating duplicate register names 2017-12-07 09:51:55 +00:00
Target Relax unaligned access assertion when type is byte aligned 2017-12-09 06:45:36 +00:00
Testing
ToolDrivers
Transforms Register NetBSD/x86_64 in MemorySanitizer.cpp 2017-12-09 00:32:09 +00:00
WindowsManifest
XRay [XRay] Use optimistic logging model for FDR mode 2017-11-21 07:16:57 +00:00
CMakeLists.txt
LLVMBuild.txt