diff options
| author | Jon Roelofs <jonathan_roelofs@apple.com> | 2023-07-12 08:50:04 -0700 |
|---|---|---|
| committer | Jon Roelofs <jonathan_roelofs@apple.com> | 2023-07-12 11:44:15 -0700 |
| commit | b76c85b355578d9076c22a86faf4ea8de1745bdf (patch) | |
| tree | 746a51f6a43b9dde05b061d1e8ccef28aa54c166 /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | |
| parent | f03dbdb70aed74ed64c1a42a85e47e3f86315ae7 (diff) | |
| download | llvm-b76c85b355578d9076c22a86faf4ea8de1745bdf.zip llvm-b76c85b355578d9076c22a86faf4ea8de1745bdf.tar.gz llvm-b76c85b355578d9076c22a86faf4ea8de1745bdf.tar.bz2 | |
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
Differential revision: https://reviews.llvm.org/D155095
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions
