[all-commits] [llvm/llvm-project] b46638: [Local] Handle undef FP constant in getExpressionF...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Dec 31 05:43:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b46638dc76d35681fbbddc2fd17ef4cde6b057e3
      https://github.com/llvm/llvm-project/commit/b46638dc76d35681fbbddc2fd17ef4cde6b057e3
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-12-31 (Sun, 31 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/SCCP/pr50901.ll

  Log Message:
  -----------
  [Local] Handle undef FP constant in getExpressionForConstant.

Check for FP constant instead of checking for floating point types, as
Undef/Poison values can have floating point types while not being
FPConstants.

This fixes a crash introduced by #66745 (f3b20cb).




More information about the All-commits mailing list