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

[X86] Make sure we don't combine (fneg (fma X, Y, Z)) to a target specific...

[X86] Make sure we don't combine (fneg (fma X, Y, Z)) to a target specific node when there are no FMA instructions.

This would cause a 'cannot select' error at isel when we should have emitted a lib call and an xor.

Fixes PR36553.

llvm-svn: 326393
parent 75c649c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment