This is an archive of the discontinued LLVM Phabricator instance.

[mips][mips64r6] bc1[tf] are not available on MIPS32r6/MIPS64r6
ClosedPublic

Authored by dsanders on Jun 12 2014, 5:39 AM.

Details

Summary

Also tightened up the acceptable condition operand for these instructions
on MIPS-I to MIPS-III. Support for $fcc[1-7] was added in MIPS-IV. Prior
to that only $fcc0 is acceptable.

We currently don't optimize (BEQZ (NOT $a), $target) and similar. It's
probably best to do this in InstCombine.

Depends on D4111

Diff Detail

Event Timeline

dsanders updated this revision to Diff 10348.Jun 12 2014, 5:39 AM
dsanders retitled this revision from to [mips][mips64r6] bc1[tf] are not available on MIPS32r6/MIPS64r6.
dsanders updated this object.
dsanders edited the test plan for this revision. (Show Details)
vmedic accepted this revision.Jun 12 2014, 7:45 AM
vmedic edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jun 12 2014, 7:45 AM
dsanders closed this revision.Jun 12 2014, 8:08 AM