[llvm] [AMDGPU] Add sext_trunc in RegBankCombiner (PR #131623)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 24 01:34:11 PDT 2025
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131623
>From f95a7c0629b39f4ed04ff4cf4f3474fa51dc1f37 Mon Sep 17 00:00:00 2001
From: pvanhout <pierre.vanhoutryve at amd.com>
Date: Mon, 17 Mar 2025 13:22:25 +0100
Subject: [PATCH] [AMDGPU] Add sext_trunc in RegBankCombiner
---
llvm/lib/Target/AMDGPU/AMDGPUCombine.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUCombine.td b/llvm/lib/Target/AMDGPU/AMDGPUCombine.td
index a21505356274b..083ce48911689 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUCombine.td
+++ b/llvm/lib/Target/AMDGPU/AMDGPUCombine.td
@@ -181,5 +181,5 @@ def AMDGPURegBankCombiner : GICombiner<
zext_trunc_fold, int_minmax_to_med3, ptr_add_immed_chain,
fp_minmax_to_clamp, fp_minmax_to_med3, fmed3_intrinsic_to_clamp,
identity_combines, redundant_and, constant_fold_cast_op,
- cast_of_cast_combines]> {
+ cast_of_cast_combines, sext_trunc]> {
}
More information about the llvm-commits
mailing list