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

[DAGCombiner][X86] Pass the CmpOpVT to reduceSelectOfFPConstantLoads so X86...

[DAGCombiner][X86] Pass the CmpOpVT to reduceSelectOfFPConstantLoads so X86 can exclude fp128 compares.

The X86 decision assumes the compare will produce a result in an XMM
register, but that can't happen for an fp128 compare since those
go to a libcall the returns an i32. Pass the VT so X86 can check
the type.

llvm-svn: 371775
parent 08df6e64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment