[SystemZ] Add NoMerge MIFlag
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 30 Jun 2020 10:44:30 +0000 (12:44 +0200)
committerIlya Leoshkevich <iii@linux.ibm.com>
Tue, 30 Jun 2020 10:44:45 +0000 (12:44 +0200)
commit6764869548a23d03b10b0a9af7aeac534959af29
tree4e1b0598c6774a7e7aed983e066748a06cffc9b1
parent815a8100e02966043a41ae6b366f23feb470e736
[SystemZ] Add NoMerge MIFlag

Summary:
This fixes ASan and MSan tests on SystemZ after
commit 6a822e20ce70 ("[ASan][MSan] Remove EmptyAsm and set the CallInst
to nomerge to avoid from merging.").

Based on commit 80e107ccd088 ("Add NoMerge MIFlag to avoid MIR branch
folding").

Reviewers: uweigand, jonpa

Reviewed By: uweigand

Subscribers: hiraditya, llvm-commits, Andreas-Krebbel

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82794
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/test/CodeGen/SystemZ/nomerge.ll [new file with mode: 0644]