[all-commits] [llvm/llvm-project] d686ea: [ConstantFolding] Guard against unfolded FP binop

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jul 8 08:45:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d686ea32b1af5f0a00fe577f530817c4214e16d0
      https://github.com/llvm/llvm-project/commit/d686ea32b1af5f0a00fe577f530817c4214e16d0
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstCombine/pr33453.ll

  Log Message:
  -----------
  [ConstantFolding] Guard against unfolded FP binop

Check that the operation actually folded before trying to flush
denormals. A minor variation of the pr33453 test exposed this
with the FP binops marked as undesirable.




More information about the All-commits mailing list