[all-commits] [llvm/llvm-project] 9fac11: Revert "[InstCombine] fold fcmp with lossy casted ...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Thu Mar 10 07:25:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fac110bf70896a5411cf57b3ff34fab5798ab78
      https://github.com/llvm/llvm-project/commit/9fac110bf70896a5411cf57b3ff34fab5798ab78
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/fcmp.ll

  Log Message:
  -----------
  Revert "[InstCombine] fold fcmp with lossy casted constant"

This reverts commit 9397bdc67eb2b9eedc247a89bef01c2484b48b89.

This optimization is likely to surprise programmers as seen
in post-commit comments, so we should add a clang warning
first (that is proposed in D121306).




More information about the All-commits mailing list