[ValueTracking] do not try to peek through bitcasts in computeKnownBitsFromAssume()
authorSanjay Patel <spatel@rotateright.com>
Sun, 3 Mar 2019 18:59:33 +0000 (18:59 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 3 Mar 2019 18:59:33 +0000 (18:59 +0000)
commit2a70703770a3bac2cbe3757922ac06381c3687ff
tree83acbd357232e39a7198dc0f7efed996cdcb8888
parentd341a94261ad17380ff57d8d1a32e9d9d690edb8
[ValueTracking] do not try to peek through bitcasts in computeKnownBitsFromAssume()

There are no tests for this case, and I'm not sure how it could ever work,
so I'm just removing this option from the matcher. This should fix PR40940:
https://bugs.llvm.org/show_bug.cgi?id=40940

llvm-svn: 355292
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/InstCombine/assume.ll