[all-commits] [llvm/llvm-project] ea1f05: [SelectionDAG] Fix lowering of IEEE 754 2019 minim...

David Majnemer via All-commits all-commits at lists.llvm.org
Mon Aug 19 22:10:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea1f05e6189fbe2b567e795677e1d64acbadc0a2
      https://github.com/llvm/llvm-project/commit/ea1f05e6189fbe2b567e795677e1d64acbadc0a2
  Author: David Majnemer <david.majnemer at gmail.com>
  Date:   2024-08-20 (Tue, 20 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/X86/fminimum-fmaximum.ll

  Log Message:
  -----------
  [SelectionDAG] Fix lowering of IEEE 754 2019 minimum/maximum

We used integer comparisons instead of floating point comparisons
resulting in very odd behavior.


  Commit: a9ce1818174b3e690545b573cc5804d73491ca1a
      https://github.com/llvm/llvm-project/commit/a9ce1818174b3e690545b573cc5804d73491ca1a
  Author: David Majnemer <david.majnemer at gmail.com>
  Date:   2024-08-20 (Tue, 20 Aug 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/test/CodeGen/NVPTX/bf16-instructions.ll

  Log Message:
  -----------
  [NVPTX] Fix bugs involving maximum/minimum and bf16

We would crash on sufficiently old NV hardware (Volta or so) due to
incorrectly marking certain operations legal.


Compare: https://github.com/llvm/llvm-project/compare/2a6136e552d2...a9ce1818174b

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