[Diffusion] rG5419b671375c: [SimplifyCFG] Update FoldTwoEntryPHINode to handle and/or of select and binop…
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 22 12:43:52 PDT 2021
lebedev.ri added a comment.
In rG5419b671375c46299ff1da6c929859040e7beaf5#1014700 <https://reviews.llvm.org/rG5419b671375c46299ff1da6c929859040e7beaf5#1014700>, @nikic wrote:
> @lebedev.ri We canonicalize to the correct form in InstCombine. At which point does SimplifyCFG produce the non-canonical form?
At any point it produces a boolean select where one of it's operands happens to be a constant,
one that doesn't happen to match the expected constant for that operand.
BRANCHES
llvm_jit_comment, main, ml-spread-test
Users:
aqjune (Author)
https://reviews.llvm.org/rG5419b671375c
More information about the llvm-commits
mailing list