This is an archive of the discontinued LLVM Phabricator instance.

Fix the patterns for (select (i32 (setne i32, immZExt16)), i32, i32) (MIPS32r6) and (select (i32 (setne i32, immZExt16)), i64, i64) (MIPS64r6)
ClosedPublic

Authored by sstankovic on Jul 21 2014, 10:24 AM.

Details

Reviewers
dsanders
Summary

[mips] Fix two patterns that select i32's (for MIPS32r6) / i64's (for MIPS64r6) from setne comparison with an i32.

The patterns that are fixed:

  • (select (i32 (setne i32, immZExt16)), i32, i32) (for MIPS32r6)
  • (select (i32 (setne i32, immZExt16)), i64, i64) (for MIPS64r6)

Diff Detail

Event Timeline

sstankovic retitled this revision from to Fix the patterns for (select (i32 (setne i32, immZExt16)), i32, i32) (MIPS32r6) and (select (i32 (setne i32, immZExt16)), i64, i64) (MIPS64r6).
sstankovic updated this object.
sstankovic edited the test plan for this revision. (Show Details)
sstankovic added a reviewer: dsanders.
sstankovic added a project: deleted.
sstankovic added a subscriber: Unknown Object (MLST).
dsanders accepted this revision.Jul 22 2014, 2:49 AM
dsanders edited edge metadata.

LGTM but please use a more descriptive first line of your commit message since it will be used as the subject line for the llvm-commits email. Thanks for finding and fixing this.

Once it's committed, please reply to the commit email asking to be merged to the release_35 branch.

This revision is now accepted and ready to land.Jul 22 2014, 2:49 AM
sstankovic updated this object.Jul 22 2014, 4:54 AM
sstankovic edited edge metadata.
sstankovic closed this revision.Jul 22 2014, 6:48 AM

Committed in r213653