Go to file
Craig Topper 587525468d [BasicAA] Don't call isKnownNonEqual if we might be have gone through a PHINode.
This is a fix for the test case in PR32314.

Basic Alias Analysis can ask if two nodes are known non-equal after looking through a phi node to find a GEP. isAddOfNonZero saw an add of a constant from the same phi and said that its output couldn't be equal. But Basic Alias Analysis was really asking about the value from the previous loop iteration.

This patch at least makes that case not happen anymore, I'm not sure if there were still other ways this can fail. As was discussed in the bug, it looks like fixing BasicAA would be difficult so this patch seemed like a possible workaround

Differential Revision: https://reviews.llvm.org/D33136

llvm-svn: 305481
2017-06-15 17:16:56 +00:00
clang [analyzer]: Improve test handling with multiple constraint managers 2017-06-15 17:05:07 +00:00
clang-tools-extra [clangd] Add priority to completion item sort text 2017-06-15 09:11:57 +00:00
compiler-rt [asan] Fix typo in doc string. 2017-06-15 00:31:59 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx Add missing include to __bsd_locale_fallbacks.h. Fixes https://bugs.llvm.org/show_bug.cgi?id=33370 2017-06-15 14:31:11 +00:00
libcxxabi Set a default value for LIBCXXABI_LIBDIR_SUFFIX, fixes installing into lib64 after r304374 2017-06-13 08:16:44 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld [ELF] Mark symbols referenced from linker script as live 2017-06-15 05:34:31 +00:00
lldb Add llvm::Error assignment operator to Status class 2017-06-15 11:23:26 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [BasicAA] Don't call isKnownNonEqual if we might be have gone through a PHINode. 2017-06-15 17:16:56 +00:00
openmp Replace platform macro with KMP_MIC_SUPPORTED 2017-06-13 17:17:26 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Docs] Add a catch-all file to document workflow & tricks. 2017-06-15 12:43:12 +00:00