Skip to content

Commit 15b4586

Browse files
rotaterightBeanz-Bot
authored and
Beanz-Bot
committed
[InstSimplify] fixed (?) to not mutate icmps
As Eli noted in the post-commit thread for r288833, the use of swapOperands() may not be allowed in InstSimplify, so I'm removing those calls here pending further review. The swap mutates the icmp, and there doesn't appear to be precedent for instruction mutation in InstSimplify. I didn't actually have any tests for those cases, so I'm adding a few here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288855 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 1be3636 commit 15b4586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm

Submodule llvm updated from e0732bd to 43179a0

0 commit comments

Comments
 (0)