[InstCombine] Fix or of commuted foldable predicates
1d90e530 switch this code to store the predicates and operands in variables, but retained a swapOperands() call here. Thus the commuted cases were no longer folded. Additionally, as the change was not reported, the next InstCombine iteration would not pick it up either.
Loading
Please sign in to comment