[all-commits] [llvm/llvm-project] ceaff2: [Clang][CodeGen] Respect FP pragma options for fne...

Shivam Gupta via All-commits all-commits at lists.llvm.org
Thu Aug 6 19:51:38 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ceaff22ed2c3ceb84da3e9334f511bc3f5b757cd
      https://github.com/llvm/llvm-project/commit/ceaff22ed2c3ceb84da3e9334f511bc3f5b757cd
  Author: Shivam Gupta <shivam98.tkg at gmail.com>
  Date:   2026-08-07 (Fri, 07 Aug 2026)

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/CodeGen/AArch64/v8.2a-neon-intrinsics-constrained.c
    M clang/test/CodeGen/constrained-math-builtins.c
    M clang/test/CodeGen/fp-reassoc-pragma.cpp

  Log Message:
  -----------
  [Clang][CodeGen] Respect FP pragma options for fneg and calls (#212141)

Apply expression-specific floating-point options when emitting fneg and
call instructions.

This prevents these instructions from retaining fast-math flags disabled
by local FP pragmas, such as #pragma clang fp reassociate(off).

Fixes #51905



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