diff options
author | Jon Roelofs <jonathan_roelofs@apple.com> | 2023-07-12 13:49:34 -0700 |
---|---|---|
committer | Jon Roelofs <jonathan_roelofs@apple.com> | 2023-07-12 16:13:27 -0700 |
commit | 56e60bc5bbfb8fdf2b22a897e8801c87771c84e8 (patch) | |
tree | c131f84d0d74229b1cc548c70dbf7ca4f472608f /llvm/lib/Object/XCOFFObjectFile.cpp | |
parent | 71548de4d885b74e7291db55e8705417ffd49c95 (diff) | |
download | llvm-56e60bc5bbfb8fdf2b22a897e8801c87771c84e8.zip llvm-56e60bc5bbfb8fdf2b22a897e8801c87771c84e8.tar.gz llvm-56e60bc5bbfb8fdf2b22a897e8801c87771c84e8.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
Divverential revision: https://reviews.llvm.org/D155095
This reverts commit cdc633e4bc93d4bf241ecd4c29691ae065749313.
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions