This is an archive of the discontinued LLVM Phabricator instance.

TableGen: Remove assert that pattern results match input number
ClosedPublic

Authored by arsenm on Aug 29 2019, 12:50 PM.

Details

Summary

AMDGPU has some atomic instructions that do not return the previous
result, and can only be selected if there are no uses. The source
pattern will only match if the use is empty, so it should be safe to
discard the result.

Diff Detail