This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ] Bugfix in SystemZTargetLowering::combineIntDIVREM()
ClosedPublic

Authored by jonpa on May 16 2019, 2:53 PM.

Details

Reviewers
uweigand
Summary

Make sure to not unroll a vector division/remainder (with a constant splat divisor) after type legalization, since the scalar type may then be illegal.

Diff Detail

Event Timeline

jonpa created this revision.May 16 2019, 2:53 PM
jonpa added a comment.May 16 2019, 2:57 PM

(This patch is NFC on benchmarks).

uweigand accepted this revision.May 16 2019, 4:50 PM

LGTM, thanks!

This revision is now accepted and ready to land.May 16 2019, 4:50 PM
jonpa closed this revision.May 16 2019, 5:50 PM

r360965