Skip to content
Commit 3e1d2c35 authored by Nikita Popov's avatar Nikita Popov
Browse files

[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.
parent 2b252c15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment