This is an archive of the discontinued LLVM Phabricator instance.

DAG: Check transformed type for forming fminnum/fmaxnum from vselect
ClosedPublic

Authored by arsenm on Aug 24 2018, 2:57 PM.

Details

Summary

Follow up to r340655 to fix vector types which are split.

Diff Detail

Event Timeline

arsenm created this revision.Aug 24 2018, 2:57 PM
nhaehnle accepted this revision.Aug 27 2018, 6:33 AM

Nice catch. One suggestion for improvement, apart from that LGTM.

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
7052

Maybe rename to TargetVT or TransformedVT? After all, this VT isn't necessarily legal...

This revision is now accepted and ready to land.Aug 27 2018, 6:33 AM
arsenm marked an inline comment as done.Aug 27 2018, 10:59 AM
arsenm added inline comments.
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
7052

I think it is?

arsenm closed this revision.Aug 27 2018, 11:12 AM
arsenm marked an inline comment as done.

r340766