]> granicus.if.org Git - llvm/commit
[IR][ARM] Add function pointer alignment to datalayout
authorMichael Platings <michael.platings@arm.com>
Fri, 8 Mar 2019 10:44:06 +0000 (10:44 +0000)
committerMichael Platings <michael.platings@arm.com>
Fri, 8 Mar 2019 10:44:06 +0000 (10:44 +0000)
commit0647335aa347e9b083028a5bba9cd71ba898b67b
tree0ff3d25df70422ff31777eb58baf51ce7feb6f10
parent154171347ba3d136a50c6898f8ce5f27eb4081c2
[IR][ARM] Add function pointer alignment to datalayout

Use this feature to fix a bug on ARM where 4 byte alignment is
incorrectly assumed.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355685 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst
include/llvm/IR/DataLayout.h
lib/IR/ConstantFold.cpp
lib/IR/DataLayout.cpp
lib/IR/Value.cpp
lib/Target/ARM/ARMTargetMachine.cpp
unittests/IR/CMakeLists.txt
unittests/IR/ConstantsTest.cpp
unittests/IR/DataLayoutTest.cpp [new file with mode: 0644]
unittests/IR/FunctionTest.cpp