[all-commits] [llvm/llvm-project] 68b70d: [GlobalISel] Fold or of shifts with constant amoun...
Abinav Puthan Purayil via All-commits
all-commits at lists.llvm.org
Sun Jan 23 21:22:00 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 68b70d17d8dea3fe9fa8e8f8bffd37bfe8125a65
https://github.com/llvm/llvm-project/commit/68b70d17d8dea3fe9fa8e8f8bffd37bfe8125a65
Author: Abinav Puthan Purayil <abinav.puthanpurayil at amd.com>
Date: 2022-01-24 (Mon, 24 Jan 2022)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/AArch64/arm64-rev.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fsh.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rot.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/usubsat.ll
Log Message:
-----------
[GlobalISel] Fold or of shifts with constant amount to funnel shift.
This change folds (or (shl x, C0), (lshr y, C1)) to funnel shift iff C0
and C1 are constants where C0 + C1 is the bit-width of the shift
instructions.
Differential Revision: https://reviews.llvm.org/D116529
More information about the All-commits
mailing list