[all-commits] [llvm/llvm-project] ec941a: [NVPTX] Legalize ctpop and ctlz in operation legal...
Alex MacLean via All-commits
all-commits at lists.llvm.org
Wed Mar 12 09:29:01 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ec941a4a045106430bc643ea094f33eb03603090
https://github.com/llvm/llvm-project/commit/ec941a4a045106430bc643ea094f33eb03603090
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2025-03-12 (Wed, 12 Mar 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/test/CodeGen/NVPTX/ctlz.ll
M llvm/test/CodeGen/NVPTX/intrinsics.ll
M llvm/test/CodeGen/VE/Scalar/ctlz.ll
Log Message:
-----------
[NVPTX] Legalize ctpop and ctlz in operation legalization (#130668)
By pulling the truncates and extensions out of operations during
operation legalization we enable more optimization via DAGCombiner.
While the test cases show only cosmetic improvements (unlikely to impact
the final SASS) in real programs the exposure of these truncates can
allow for more optimization.
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