Skip to content
Commit defe1186 authored by Craig Topper's avatar Craig Topper
Browse files

[RISCV] Add isel patterns for fnmadd/fnmsub with an fneg on the second operand...

[RISCV] Add isel patterns for fnmadd/fnmsub with an fneg on the second operand instead of the first.

The multiply part of FMA is commutable, but TargetSelectionDAG.td
doesn't have it marked as commutable so tablegen won't automatically
create the additional patterns.

So manually add commuted patterns.
parent 4a4f4f78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment