This is an archive of the discontinued LLVM Phabricator instance.

[X86] - Removing warning on legal cases caused by commit r258132
ClosedPublic

Authored by myatsina on Jan 20 2016, 8:57 AM.

Details

Summary

There's an overloading of the "movsd" and "cmpsd" instructions, e.g. movsd can be either "Move Data from String to String" or "Move or Merge Scalar Double-Precision Floating-Point Value".
The former should produce warnings when parsing a memory operand that is not ESI/EDI, but the latter should not.

Fixed the code to produce warnings only after making sure we're dealing with the first case.

Expanded the tests of the produced warnings + fixed RUN line the test so that it would check the both stdout and stderr

Diff Detail

Repository
rL LLVM

Event Timeline

myatsina updated this revision to Diff 45396.Jan 20 2016, 8:57 AM
myatsina retitled this revision from to [X86] - Removing warning on legal cases caused by commit r258132.
myatsina updated this object.
myatsina added reviewers: rnk, sberg, craig.topper.
myatsina set the repository for this revision to rL LLVM.
myatsina added a subscriber: llvm-commits.
sberg edited edge metadata.Jan 20 2016, 9:23 AM

Fixes the LibreOffice build for me again. Thanks!

rnk accepted this revision.Jan 20 2016, 9:51 AM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.Jan 20 2016, 9:51 AM
This revision was automatically updated to reflect the committed changes.