aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2016-01-06 19:33:12 +0000
committerPhilip Reames <listmail@philipreames.com>2016-01-06 19:33:12 +0000
commit5eb90a7835b9558b151aafb88f1cca6f7f5e9c92 (patch)
treec67e649885be47fa4c43824c710e28e3b2a12dd0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parenteea7582bfa3b30393af643fab1e30008a930e319 (diff)
downloadllvm-5eb90a7835b9558b151aafb88f1cca6f7f5e9c92.zip
llvm-5eb90a7835b9558b151aafb88f1cca6f7f5e9c92.tar.gz
llvm-5eb90a7835b9558b151aafb88f1cca6f7f5e9c92.tar.bz2
Consolidate MemRefs handling from BranchFolding and correct latent bug
Move the logic from BranchFolding to use the shared infrastructure for merging MMOs introduced in 256909. This has the effect of making BranchFolding more capable. In the process, fix a latent bug. The existing handling for merging didn't handle the case where one of the instructions being merged had overflowed and dropped MemRefs. This was a latent bug in the places the code was commoned from, but potentially reachable in BranchFolding. Once this is in, we're left with a single place to consider implementing MMO unique-ing as proposed in http://reviews.llvm.org/D15230. Differential Revision: http://reviews.llvm.org/D15913 llvm-svn: 256966
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions