Open
Description
PR: #137930 shows a correctness issue which is reported here: iree-org/iree#20737
Supplying: 1. source LLVM IR; 2. assembly files with and without #137930:
https://gist.github.com/lialan/0cf658c174d02edef6aebc9c4d248c2e
LLVM IR file is small so I did not try to get a minimal reproducer. The diff of before(left)/after(right) assembly is relatively scoped.
Seems relevant change is to enable V_CNDMASK_B32_E32
to be converted to SDWA: https://github.com/llvm/llvm-project/pull/137930/files#diff-dc487be6b0b90778163b61e49a83c61afc0dc647a5582f282e610f3344419180L1111-L1114