[X86] Don't call LowerSETCC from LowerSELECT for STRICT_FSETCC/STRICT_FSETCCS nodes.
authorCraig Topper <craig.topper@gmail.com>
Sun, 12 Jan 2020 02:10:11 +0000 (18:10 -0800)
committerCraig Topper <craig.topper@gmail.com>
Sun, 12 Jan 2020 04:43:00 +0000 (20:43 -0800)
commitd692f0f6c8c12316d559b9a638a2cb9fbd0c263d
treef0001875b82b664c80b855e619eafa582a28dfc7
parent569ccfc384a5434c35c09adba8c44c46014297e6
[X86] Don't call LowerSETCC from LowerSELECT for STRICT_FSETCC/STRICT_FSETCCS nodes.

This causes the STRICT_FSETCC/STRICT_FSETCCS nodes to lowered
early while lowering SELECT, but the output chain doesn't get
connected. Then we visit the node again when it is its turn
because we haven't replaced the use of the chain result. In the
case of the fp128 libcall lowering, after D72341 this will cause
the libcall to be emitted twice.
llvm/lib/Target/X86/X86ISelLowering.cpp