[llvm] [AMDGPU][GlobalISel] Improve combining on v_ldexp (PR #190236)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 02:55:40 PDT 2026
================
@@ -447,3 +402,52 @@ define amdgpu_cs half @fdiv_f16_i16(half inreg %a, i16 inreg %b) {
%result = fdiv afn half %a, %uint
ret half %result
}
+
+; Test that the fmul+select -> fldexp combine works for divergent values.
----------------
jayfoad wrote:
There are tests already in test/CodeGen/AMDGPU/fmul-to-ldexp.ll -- are you testing something different here?
https://github.com/llvm/llvm-project/pull/190236
More information about the llvm-commits
mailing list