[all-commits] [llvm/llvm-project] 22742e: Bundle operands to specify denormal modes

Serge Pavlov via All-commits all-commits at lists.llvm.org
Sun Apr 20 11:09:39 PDT 2025


  Branch: refs/heads/users/spavloff/denorm
  Home:   https://github.com/llvm/llvm-project
  Commit: 22742e24c1eef3ecc0fb4294dac9f42c9d160019
      https://github.com/llvm/llvm-project/commit/22742e24c1eef3ecc0fb4294dac9f42c9d160019
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2025-04-21 (Mon, 21 Apr 2025)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/ADT/FloatingPointMode.h
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal-strict.ll
    M llvm/test/Verifier/fp-intrinsics.ll

  Log Message:
  -----------
  Bundle operands to specify denormal modes

Two new operands are now supported in the "fp.control" operand bundle:

    * "denorm.in=xxx"   - specifies the inpot denormal mode.
    * "denorm.out=xxx"  - specifies the output denormal mode.

Here xxx must be one of the following values:

    * "ieee"  - preserve denormals.
    * "zero"  - flush to zero preserving sign.
    * "pzero" - flush to positive zero.
    * "dyn"   - mode is dynamically read from a control register.

These values align those permitted in the "denormal-fp-math" function
attribute.



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