[Alignment][NFC] TargetLowering::allowsMisalignedMemoryAccesses
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 8 Jun 2020 11:15:28 +0000 (11:15 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 9 Jun 2020 10:17:42 +0000 (10:17 +0000)
commit3b6196c9b3283b3a9e57c899616ac2089ea4c8b7
treeda115344b44eb5573cc0c089b722859c47a82651
parentf21c52667ed147903015a94643b0057319189d4e
[Alignment][NFC] TargetLowering::allowsMisalignedMemoryAccesses

Summary:
Note to downstream target maintainers: this might silently change the semantics of your code if you override `TargetLowering::allowsMisalignedMemoryAccesses` without marking it override.

This patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81374
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h