Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[LLVM][AMDGPU] PR#137930 introduces correctness inconsistency #138766

Copy link
Copy link
Open
@lialan

Description

@lialan
Issue body actions

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.
Image

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

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.