[AssumeBundles] Fix Bug in Assume Queries
authorTyker <tyker1@outlook.com>
Mon, 17 Aug 2020 18:47:02 +0000 (20:47 +0200)
committerTyker <tyker1@outlook.com>
Mon, 17 Aug 2020 19:36:53 +0000 (21:36 +0200)
commita79e604462ea26c73b6869d71b41667819f90281
tree4ef794469f377f8dd7292e13d49da1a2ae5ecdcf
parente1a2f4713c998318d7f0e67bd3ba5e06e3a986ee
[AssumeBundles] Fix Bug in Assume Queries

this bug was causing miscompile.
now clang cant properly selfhost with -mllvm --enable-knowledge-retention

Reviewed By: jdoerfert, lebedev.ri

Differential Revision: https://reviews.llvm.org/D83507
llvm/lib/Analysis/AssumeBundleQueries.cpp
llvm/test/Transforms/PhaseOrdering/d83507-knowledge-retention-bug.ll