[all-commits] [llvm/llvm-project] 549231: [RISCV] Support -mno-implicit-float.

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Sep 20 13:33:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 549231d38e10de7371adb85f5452d42ad42f4201
      https://github.com/llvm/llvm-project/commit/549231d38e10de7371adb85f5452d42ad42f4201
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/flags.c

  Log Message:
  -----------
  [RISCV] Support -mno-implicit-float.

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

Reviewed By: rui.zhang

Differential Revision: https://reviews.llvm.org/D134077




More information about the All-commits mailing list