This is an archive of the discontinued LLVM Phabricator instance.

Fix a bug introduced by rL334850
ClosedPublic

Authored by tkrupa on Jun 18 2018, 10:22 AM.

Details

Summary

All *_sqrt_round_s[s|d] intrinsics should execute a square root on zeroth element from B (Ops[1]) and insert in to A (Ops[0]), not the other way around.

Diff Detail

Repository
rC Clang

Event Timeline

tkrupa created this revision.Jun 18 2018, 10:22 AM
craig.topper accepted this revision.Jun 18 2018, 10:27 AM
craig.topper added a subscriber: craig.topper.

LGTM

This revision is now accepted and ready to land.Jun 18 2018, 10:27 AM
This revision was automatically updated to reflect the committed changes.