[all-commits] [llvm/llvm-project] 46fb22: [InstSimplify] Add tests for f16 to i128 range (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Aug 15 09:18:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46fb225f3ac602970ebb8973a5376cd9216ba38f
      https://github.com/llvm/llvm-project/commit/46fb225f3ac602970ebb8973a5376cd9216ba38f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/fptoi-range.ll

  Log Message:
  -----------
  [InstSimplify] Add tests for f16 to i128 range (NFC)


  Commit: afa0f53f96b5563a80fbdf8c41c8153bf8cd2685
      https://github.com/llvm/llvm-project/commit/afa0f53f96b5563a80fbdf8c41c8153bf8cd2685
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-08-15 (Thu, 15 Aug 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/CodeGen/Thumb2/mve-fpclamptosat_vec.ll
    M llvm/test/Transforms/InstSimplify/fptoi-range.ll

  Log Message:
  -----------
  [ValueTracking] Fix f16 fptosi range for large integers

We were missing the signed flag on the negative value, so the
range was incorrectly interpreted for integers larger than 64-bit.

Split out from https://github.com/llvm/llvm-project/pull/80309.


Compare: https://github.com/llvm/llvm-project/compare/64c856055aed...afa0f53f96b5

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