diff options
author | Amara Emerson <amara@apple.com> | 2025-01-06 10:22:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 10:22:48 -0800 |
commit | 2d53eaff4aee73605170ce9910cde68fa7a300b2 (patch) | |
tree | 49e57f2d943cf266693df2c40687ed657c89b2b7 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6b0807fe2b8af7361f98f0f947a3129a6ab79f7e (diff) | |
download | llvm-2d53eaff4aee73605170ce9910cde68fa7a300b2.zip llvm-2d53eaff4aee73605170ce9910cde68fa7a300b2.tar.gz llvm-2d53eaff4aee73605170ce9910cde68fa7a300b2.tar.bz2 |
[AArch64][GlobalISel] Fix legalization for <4 x i1> vector stores.
This case is different from the earlier <8 x i1> case handled because it triggers
a legalization failure in lowerStore() that's intended for scalar code.
It also was triggering incorrect bitcast actions in the AArch64 rules that weren't
expecting truncating stores.
With these two fixed, more cases are handled. The code is still bad, including
some missing load promotion in our combiners that result in dead stores hanging
around at the end of codegen. Again, we can fix these in separate changes.
Reviewers: davemgreen, madhur13490, topperc, arsenm
Reviewed By: davemgreen
Pull Request: https://github.com/llvm/llvm-project/pull/121185
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions