[PATCH] D116931: [GlobalISel][Legalizer] Support big endian when reducing load/store width
Sheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 10 05:11:00 PST 2022
0x59616e created this revision.
Herald added subscribers: hiraditya, rovka.
0x59616e requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
`LegalizerHelper::reduceLoadStoreWidth` uses little endian order when splitting. In order to support big endian, `SplitValueOffset` is added. It can calculates the offset in big or little endian order.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116931
Files:
llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/M68k/GISel/M68kLegalizerInfo.cpp
llvm/test/CodeGen/M68k/GlobalISel/legalizer_load_store.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116931.398585.patch
Type: text/x-patch
Size: 5457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220110/1bcb7b8f/attachment.bin>
More information about the llvm-commits
mailing list