[BranchFolding] Set correct mem refs (2nd try)
authorJunmo Park <junmoz.park@samsung.com>
Mon, 11 Jan 2016 07:15:38 +0000 (07:15 +0000)
committerJunmo Park <junmoz.park@samsung.com>
Mon, 11 Jan 2016 07:15:38 +0000 (07:15 +0000)
commitf7566237848be2bd3276d1445da5ab5ebc5a359e
treebf39ef19214863a260f722a22a1a80e15da0d2c0
parentcdd3d384cda3210d6ba254c4bfd01d8314311295
[BranchFolding] Set correct mem refs (2nd try)

This is a recommit of r257253 which was reverted in r257270.
Previous testcase can make failure on some targets due to using opt with O3 option.

Original Summary:
Merge MBBICommon and MBBI's MMOs.

Differential Revision: http://reviews.llvm.org/D15990

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257317 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp
test/CodeGen/AArch64/branch-folder-merge-mmos.ll [new file with mode: 0644]