This is an archive of the discontinued LLVM Phabricator instance.

[DA] Fix direction vectors for weakZeroSrcSIV
ClosedPublic

Authored by dmgreen on May 10 2018, 1:26 AM.

Details

Summary

Both weakZeroSrcSIV and weakZeroDstSIV are currently giving the same
direction vectors. One of them must be wrong, and it looks like Src
is getting things the wrong way round.

Diff Detail

Repository
rL LLVM

Event Timeline

dmgreen created this revision.May 10 2018, 1:26 AM
bcahoon accepted this revision.May 30 2018, 11:16 AM

This change looks correct to me. I agree with you that those functions shouldn't return the same direction vectors and that the Src version is wrong.

This revision is now accepted and ready to land.May 30 2018, 11:16 AM

Thanks! I have a couple more DA patches around, but they may not be as straight forward as this one.

This revision was automatically updated to reflect the committed changes.