Instead of using scalar size divided by 8 for segment loads, get
the alignment from clang's type system.
Make vleff match for consistency.
Also replace uses of getPointerElementType() which will be removed as part of the OpaquePtr changes.
Paths
| Differential D106738
[RISCV] Use getNaturalPointeeTypeAlignment to get alignment for stores created for vector builtins. ClosedPublic Authored by craig.topper on Jul 23 2021, 9:43 PM.
Details Summary Instead of using scalar size divided by 8 for segment loads, get Make vleff match for consistency. Also replace uses of getPointerElementType() which will be removed as part of the OpaquePtr changes.
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: StephenFan, vkmr, frasercrmck and 24 others. · View Herald TranscriptJul 23 2021, 9:43 PM This revision is now accepted and ready to land.Aug 11 2021, 11:54 PM This revision was landed with ongoing or failed builds.Aug 12 2021, 10:05 AM Closed by commit rG6171f84942ce: [RISCV] Use getNaturalPointeeTypeAlignment to get alignment for stores created… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 361899 clang/include/clang/Basic/riscv_vector.td
|