This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Support -mno-implicit-float.
ClosedPublic

Authored by craig.topper on Sep 16 2022, 2:20 PM.

Details

Summary

This can be used to disable vectorization and memcpy/memset
expansion for things like OS kernels. It also disables implicit
uses of scalar FP, but I don't know if we have any of those for
RISC-V.

NOTE: Without this patch you can still do -Xclang -no-implicit-float

Diff Detail

Event Timeline

craig.topper created this revision.Sep 16 2022, 2:20 PM
craig.topper requested review of this revision.Sep 16 2022, 2:20 PM
rui.zhang accepted this revision.Sep 16 2022, 9:43 PM

Thanks for fixing it.

This revision is now accepted and ready to land.Sep 16 2022, 9:43 PM
craig.topper edited the summary of this revision. (Show Details)Sep 16 2022, 9:58 PM
This revision was automatically updated to reflect the committed changes.