[all-commits] [llvm/llvm-project] 37a57c: [FMF] Set all bits if needed when setting individu...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Mar 15 11:46:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37a57ca257c18ee7c3d8f4afae39aac7803e2bb7
      https://github.com/llvm/llvm-project/commit/37a57ca257c18ee7c3d8f4afae39aac7803e2bb7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-03-15 (Sat, 15 Mar 2025)

  Changed paths:
    M llvm/include/llvm/IR/FMF.h
    M llvm/test/Transforms/LoopVectorize/AArch64/widen-call-with-intrinsic-or-libfunc.ll
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll

  Log Message:
  -----------
  [FMF] Set all bits if needed when setting individual flags. (#131321)

Currently fast() won't return true if all flags are set via setXXX,
which is surprising. Update setters to set all bits if needed to make
sure isFast() consistently returns the expected result.

PR: https://github.com/llvm/llvm-project/pull/131321



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