1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/lib/Target/AVR
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
..
AsmParser [AVR] Override ParseDirective 2017-12-07 06:56:09 +00:00
Disassembler Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
InstPrinter [AVR] Rename 'ZREGS' to 'ZREG' 2017-07-11 04:53:43 +00:00
MCTargetDesc [AVR] Override ParseDirective 2017-12-07 06:56:09 +00:00
TargetInfo Add backend name to AVR Target to enable runtime info to be fed back into TableGen 2017-11-23 04:11:11 +00:00
AVR.h [AVR] Remove the instrumentation pass 2017-07-23 23:39:11 +00:00
AVR.td
AVRAsmPrinter.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
AVRCallingConv.td
AVRDevices.td [AVR] Rename 'AVRTiny' to 'Tiny' 2017-07-11 04:45:15 +00:00
AVRExpandPseudoInsts.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
AVRFrameLowering.cpp Add "Restored" flag to CalleeSavedInfo 2017-08-10 16:17:32 +00:00
AVRFrameLowering.h Move TargetFrameLowering.h to CodeGen where it's implemented 2017-11-03 22:32:11 +00:00
AVRInstrFormats.td
AVRInstrInfo.cpp [AVR] Insert JMP for long branches 2017-10-04 09:51:28 +00:00
AVRInstrInfo.h Target/TargetInstrInfo.h -> CodeGen/TargetInstrInfo.h to match layering 2017-11-08 01:01:31 +00:00
AVRInstrInfo.td [AVR] Factor out mayLoad in tablegen patterns 2017-10-04 10:36:07 +00:00
AVRISelDAGToDAG.cpp
AVRISelLowering.cpp Relax unaligned access assertion when type is byte aligned 2017-12-09 06:45:36 +00:00
AVRISelLowering.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
AVRMachineFunctionInfo.h
AVRMCInstLower.cpp [AVR] Fix indirect calls to function pointers 2017-07-13 08:09:36 +00:00
AVRMCInstLower.h
AVRRegisterInfo.cpp Move TargetFrameLowering.h to CodeGen where it's implemented 2017-11-03 22:32:11 +00:00
AVRRegisterInfo.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
AVRRegisterInfo.td [AVR] Remove a few very old TODOs that don't have enough context to understand 2017-07-11 05:14:40 +00:00
AVRRelaxMemOperations.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
AVRSelectionDAGInfo.h
AVRSubtarget.cpp Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
AVRSubtarget.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
AVRTargetMachine.cpp Revert "TargetMachine: Merge TargetMachine and LLVMTargetMachine" 2017-10-12 22:57:28 +00:00
AVRTargetMachine.h Revert "TargetMachine: Merge TargetMachine and LLVMTargetMachine" 2017-10-12 22:57:28 +00:00
AVRTargetObjectFile.cpp Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
AVRTargetObjectFile.h
CMakeLists.txt [AVR] Remove the instrumentation pass 2017-07-23 23:39:11 +00:00
LLVMBuild.txt
README.md
TODO.md

AVR backend

This experimental backend is for the 8-bit Atmel AVR microcontroller.