This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Don't scalarize vector stores if volatile
ClosedPublic

Authored by luke on May 25 2023, 2:18 PM.

Details

Summary

As noted by @reames in https://reviews.llvm.org/D151211#4373404, we shouldn't
scalarize vector stores of constants if the store is volatile, or vector copies
if either the store or load are volatile.

Diff Detail

Event Timeline

luke created this revision.May 25 2023, 2:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2023, 2:18 PM
luke requested review of this revision.May 25 2023, 2:18 PM
reames accepted this revision.May 25 2023, 3:25 PM

LGTM

This revision is now accepted and ready to land.May 25 2023, 3:25 PM
This revision was automatically updated to reflect the committed changes.