[all-commits] [llvm/llvm-project] d27802: [DAGCombiner] Fold setcc of trunc, generalizing so...
Alex MacLean via All-commits
all-commits at lists.llvm.org
Tue Aug 5 19:20:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d27802a2173ab3d864d3bf1ac507a4acc656e457
https://github.com/llvm/llvm-project/commit/d27802a2173ab3d864d3bf1ac507a4acc656e457
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2025-08-05 (Tue, 05 Aug 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/test/CodeGen/NVPTX/sext-setcc.ll
A llvm/test/CodeGen/NVPTX/trunc-setcc.ll
Log Message:
-----------
[DAGCombiner] Fold setcc of trunc, generalizing some NVPTX isel logic (#150270)
That change adds support for folding a SETCC when one or both of the
operands is a TRUNCATE with the appropriate no-wrap flags. This pattern
can occur when promoting i8 operations in NVPTX, and we currently have
some ISel rules to try to handle it.
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