[all-commits] [llvm/llvm-project] 2bb960: [X86][ConstraintFP] Model `MXCSR` for function call

Phoebe Wang via All-commits all-commits at lists.llvm.org
Thu Jan 26 18:07:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bb960302aa5b53fd387c05f917043b421ade53e
      https://github.com/llvm/llvm-project/commit/2bb960302aa5b53fd387c05f917043b421ade53e
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/test/CodeGen/X86/fp-strict-scalar-inttofp-fp16.ll
    M llvm/test/CodeGen/X86/pr59305.ll

  Log Message:
  -----------
  [X86][ConstraintFP] Model `MXCSR` for function call

This patch is inspired by D111433. It would affect the performance under
strict FP mode. But it preserves the correct rounding behavior accross
function calls.

Fixes #59305

Reviewed By: sepavloff

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




More information about the All-commits mailing list