[all-commits] [llvm/llvm-project] 1af435: [LLVM][Constants] Store "splat (float 0.0)" as Con...

Paul Walker via All-commits all-commits at lists.llvm.org
Wed May 6 03:34:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1af4350a0604e7e83b01c894ea9ecc1600084449
      https://github.com/llvm/llvm-project/commit/1af4350a0604e7e83b01c894ea9ecc1600084449
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M llvm/include/llvm/IR/Constants.h
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/test/Transforms/Reassociate/fast-ReassociateVector.ll

  Log Message:
  -----------
  [LLVM][Constants] Store "splat (float 0.0)" as ConstantFP rather than ConstantAggregateZero. (#195284)

The original split is awkward because, not unreasonably, some code paths
expect constant folding of ConstantFP operands to yield a ConstantFP
result.

Fixes https://github.com/llvm/llvm-project/issues/194590



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