[llvm] [AMDGPU] Relax constant bus limit for widely shared constants (PR #224049)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 23:07:53 PDT 2026


================
@@ -441,3 +441,140 @@ define amdgpu_ps <2 x i32> @s_and_or_v2i32(<2 x i32> inreg %a, <2 x i32> inreg %
   %result = or <2 x i32> %x, %c
   ret <2 x i32> %result
 }
+
+define amdgpu_ps <3 x float> @and_or_shared_literals(<3 x i32> %a) {
----------------
aobolensk wrote:

Sure, that makes perfect sense: https://github.com/llvm/llvm-project/pull/224198

https://github.com/llvm/llvm-project/pull/224049


More information about the llvm-commits mailing list