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

[DAGCombiner] Prevent the combine added in r367710 from creating illegal types...

[DAGCombiner] Prevent the combine added in r367710 from creating illegal types after type legalization.

This is further fix for PR42880.

Sanjay already disabled the X86 TLI hook for non-simple types,
but we should really call isTypeLegal here if we're after type
legalization.

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