[llvm] [AMDGPU] si-peephole-sdwa: Disable V_CNDMASK_B32 conversion with sext (PR #140760)

Frederik Harwath via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 07:04:57 PDT 2025


================
@@ -0,0 +1,21 @@
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 < %s | FileCheck %s
+; XFAIL: *
+
+; FIXME The sext modifier is turned into a neg modifier in the asm output
+
+define i32 @test_select_on_sext_sdwa(i8 %x, i32 %y, i1 %cond)  {
----------------
frederik-h wrote:

Merged the pre-si-peephole-sdwa mir into an existing mir test with checks that reflect the current expectation (no sdwa conversion) instead of using xfail.

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


More information about the llvm-commits mailing list