Skip to content
Unverified Commit 56e60bc5 authored by Jon Roelofs's avatar Jon Roelofs
Browse files

TargetLowering: fix an infinite DAG combine in SimplifySETCC

TargetLowering::SimplifySetCC wants to swap the operands of a SETCC to
canonicalize the constant to the RHS. The bug here was that it did so whether
or not the RHS was already a constant, leading to an infinite loop.

rdar://111847838

Divverential revision: https://reviews.llvm.org/D155095

This reverts commit cdc633e4.
parent 71548de4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment