aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2021-03-02 09:49:15 -0800
committerJustin Bogner <mail@justinbogner.com>2021-06-08 10:13:38 -0700
commit2a7e759734982bea1d08642332a92f687266148f (patch)
treedf3e2641863d25bf3e132c172e8dedf5995f4486 /llvm/lib/Object/ELFObjectFile.cpp
parent30bb5dcb0a5cfe933136340318cbff2ba329a8c4 (diff)
downloadllvm-2a7e759734982bea1d08642332a92f687266148f.zip
llvm-2a7e759734982bea1d08642332a92f687266148f.tar.gz
llvm-2a7e759734982bea1d08642332a92f687266148f.tar.bz2
[GlobalISel] Handle non-multiples of the base type in narrowScalarInsert
When narrowing G_INSERT, handle types that aren't a multiple of the type we're narrowing to. This comes up if we're narrowing something like an s96 to fit in 64 bit registers and also for non-byte multiple packed types if they come up. This implementation handles these cases by extending the extra bits to the narrow size and truncating the result back to the destination size. Differential Revision: https://reviews.llvm.org/D97791
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions