[all-commits] [llvm/llvm-project] abc27b: [InstCombine] Avoid some FP cast constant expressi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Nov 6 05:43:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abc27bd31f6064ac8aec75459351db856573b151
      https://github.com/llvm/llvm-project/commit/abc27bd31f6064ac8aec75459351db856573b151
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

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

  Log Message:
  -----------
  [InstCombine] Avoid some FP cast constant expressions (NFCI)

Instead of doing fptoxi and xitofp casts to check for round-trip,
directly check the IsExact flag on the convertToInteger() API.




More information about the All-commits mailing list