[all-commits] [llvm/llvm-project] bf21d8: [GlobalISel] Check whether `G_CTLZ` is legal in `m...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Sun Feb 9 19:55:50 PST 2025
Branch: refs/heads/users/shiltian/check-ctlz-in-matchUMulHToLShr
Home: https://github.com/llvm/llvm-project
Commit: bf21d87c6e521b68e7a71630c0909fbc1c335378
https://github.com/llvm/llvm-project/commit/bf21d87c6e521b68e7a71630c0909fbc1c335378
Author: Shilei Tian <i at tianshilei.me>
Date: 2025-02-09 (Sun, 09 Feb 2025)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/no-ctlz-from-umul-to-lshr-in-postlegalizer.ll
A llvm/test/CodeGen/AMDGPU/GlobalISel/no-ctlz-from-umul-to-lshr-in-postlegalizer.mir
Log Message:
-----------
[GlobalISel] Check whether `G_CTLZ` is legal in `matchUMulHToLShr`
We need to check `G_CTLZ` because the combine uses `G_CTLZ` to get log base 2,
and it is not always legal for on a target.
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