[JumpThreading] Fix tryToUnfoldSelectInCurrBB to treat and/or and its select form...
authorJuneyoung Lee <aqjune@gmail.com>
Tue, 2 Mar 2021 09:34:32 +0000 (18:34 +0900)
committerJuneyoung Lee <aqjune@gmail.com>
Tue, 2 Mar 2021 09:35:18 +0000 (18:35 +0900)
commit365f5e24758826a6ba4e58ad424b321d3a5c49a2
tree4132f67180fd61aed6d3626aa7d86c3b1a65bb70
parent1e34cb008f506a9ec9ca161ed8a738bd957bffd9
[JumpThreading] Fix tryToUnfoldSelectInCurrBB to treat and/or and its select form equally

This is a minor fix to update tryToUnfoldSelectInCurrBB to ignore select
form of and/ors because the function does not look into binops as well
llvm/lib/Transforms/Scalar/JumpThreading.cpp