[all-commits] [llvm/llvm-project] c4e38f: [AArch64] Mark function calls as possibly changing...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Tue Jan 31 21:07:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4e38fadfa2a615467a8c9071f12edc4cdce5eb8
      https://github.com/llvm/llvm-project/commit/c4e38fadfa2a615467a8c9071f12edc4cdce5eb8
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    A llvm/test/CodeGen/AArch64/strict-fp-func.ll

  Log Message:
  -----------
  [AArch64] Mark function calls as possibly changing FPCR

This patch does the same changes as D111433 for PowerPC and D139549 for
X86, - in the strictfp function all calls are marked as implicit defs of
FPCR. It prevents from moving FP operations across function calls, which
may change rounding mode, as fesetround does.

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




More information about the All-commits mailing list