[all-commits] [llvm/llvm-project] c11c2f: [NVPTX] Lower i1 select with logical ops in the ge...

Alex MacLean via All-commits all-commits at lists.llvm.org
Wed Apr 16 21:14:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c11c2fe1ae2fe7b88135c51c32a66d0e30fe5431
      https://github.com/llvm/llvm-project/commit/c11c2fe1ae2fe7b88135c51c32a66d0e30fe5431
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2025-04-16 (Wed, 16 Apr 2025)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
    M llvm/test/CodeGen/NVPTX/bug22246.ll
    A llvm/test/CodeGen/NVPTX/i1-select.ll
    M llvm/test/CodeGen/NVPTX/i128.ll

  Log Message:
  -----------
  [NVPTX] Lower i1 select with logical ops in the general case (#135868)

Update i1 select lowering to use an expansion based on logical ops,
unless the selected operands are truncations. This can improve generated
code quality by exposing additional potential optimizations.



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