[all-commits] [llvm/llvm-project] cc5dda: [NVPTX] Fix ISel patterns for i1 sint_to_fp (#110866)

Lewis Crawford via All-commits all-commits at lists.llvm.org
Tue Oct 8 09:48:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc5ddae5e29ef2d7dd132469caee5cac54523ce5
      https://github.com/llvm/llvm-project/commit/cc5ddae5e29ef2d7dd132469caee5cac54523ce5
  Author: Lewis Crawford <lcrawford at nvidia.com>
  Date:   2024-10-08 (Tue, 08 Oct 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/test/CodeGen/NVPTX/i1-int-to-fp.ll

  Log Message:
  -----------
  [NVPTX] Fix ISel patterns for i1 sint_to_fp (#110866)

NVPTX has ZeroOrNegativeOneBooleanContent, therefore we need to use -1
as the constant for i1 sint_to_fp operations in instruction selection.



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