This is an archive of the discontinued LLVM Phabricator instance.

[amdgpu] Fix known bits compuation on `MUL_I24`/`MUL_U24`.
ClosedPublic

Authored by hliao on Nov 1 2019, 1:22 PM.

Event Timeline

hliao created this revision.Nov 1 2019, 1:22 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 1 2019, 1:22 PM
rampitec accepted this revision.Nov 1 2019, 1:37 PM

LGTM

This revision is now accepted and ready to land.Nov 1 2019, 1:37 PM
arsenm added a comment.Nov 1 2019, 1:47 PM

What was the symptom of this?

llvm/test/CodeGen/AMDGPU/computeNumSignBits-mul.ll
163

Drop the return address register

hliao marked 2 inline comments as done.Nov 1 2019, 2:02 PM

What was the symptom of this?

crash as the extra check following that assumes non-zero operands. As all bits are known zero, that results in the conflict finally.

llvm/test/CodeGen/AMDGPU/computeNumSignBits-mul.ll
163

OK

This revision was automatically updated to reflect the committed changes.
hliao marked an inline comment as done.