diff options
author | Justin Bogner <mail@justinbogner.com> | 2021-03-02 14:46:03 -0800 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2021-06-08 10:13:38 -0700 |
commit | 4271e1d2c52271ddb9544fa0c76543bffe053937 (patch) | |
tree | ab31b7ecb14029a8675d31935106c98836c34bed /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 2a7e759734982bea1d08642332a92f687266148f (diff) | |
download | llvm-4271e1d2c52271ddb9544fa0c76543bffe053937.zip llvm-4271e1d2c52271ddb9544fa0c76543bffe053937.tar.gz llvm-4271e1d2c52271ddb9544fa0c76543bffe053937.tar.bz2 |
[GlobalISel] Handle non-multiples of the base type in narrowScalarAddSub
When narrowing G_ADD and G_SUB, handle types that aren't a multiple of
the type we're narrowing to. This allows us to handle types like s96
on 64 bit targets.
Note that the test here has a couple of dead instructions because of
the way the setup legalizes. I wasn't able to come up with a way to
write this test that avoids that easily.
Differential Revision: https://reviews.llvm.org/D97811
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions