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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 22 09:54:45 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)  {
----------------
arsenm wrote:

The MIR test isn't really a substitute, particularly given that there are whole pipeline interactions with the final emission. Should bring back the IR test too 

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


More information about the llvm-commits mailing list