Skip to content

Commit 741a525

Browse files
committed
[CHERIoT] Enable FeatureUnalignedScalarMem for cheriot.
This is a performance heuristic that signals that scalar unaligned memory accesses are fast, i.e. not emulated.
1 parent 7fe4579 commit 741a525

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/RISCV/RISCVProcessors.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,5 @@ def CHERIOT : RISCVProcessorModel<"cheriot",
210210
FeatureCheri,
211211
FeatureCapMode,
212212
FeatureStdExtC,
213-
FeatureStdExtM]>;
213+
FeatureStdExtM,
214+
FeatureUnalignedScalarMem]>;

0 commit comments

Comments
 (0)