[all-commits] [llvm/llvm-project] e9eec1: [LoongArch] [CodeGen] Add options for Clang to gen...

tangaac via All-commits all-commits at lists.llvm.org
Thu Oct 17 18:06:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9eec14bb3566f6578950797559de98678f16985
      https://github.com/llvm/llvm-project/commit/e9eec14bb3566f6578950797559de98678f16985
  Author: tangaac <tangyan01 at loongson.cn>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
    A clang/test/Driver/loongarch-mfrecipe.c
    M llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
    A llvm/test/CodeGen/LoongArch/fdiv-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/fsqrt-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lasx/fdiv-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lasx/fsqrt-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lsx/fdiv-reciprocal-estimate.ll
    A llvm/test/CodeGen/LoongArch/lsx/fsqrt-reciprocal-estimate.ll

  Log Message:
  -----------
  [LoongArch] [CodeGen] Add options for Clang to generate LoongArch-specific frecipe & frsqrte instructions (#109917)

Two options: `-mfrecipe` & `-mno-frecipe`.
Enable or Disable frecipe.{s/d} and frsqrte.{s/d} instructions. 
The default is `-mno-frecipe`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list