]> granicus.if.org Git - llvm/commit
Add element-atomic mem intrinsic canary tests for InstCombine.
authorDaniel Neilson <dneilson@azul.com>
Tue, 18 Jul 2017 01:06:47 +0000 (01:06 +0000)
committerDaniel Neilson <dneilson@azul.com>
Tue, 18 Jul 2017 01:06:47 +0000 (01:06 +0000)
commit6846476bcb6402860ee6a5471d2831bb0716a987
tree583ecb24443d060c1191f100229e9d4adee704d1
parent9505afab478c0b5a23ac363f9f16271032e2ade7
Add element-atomic mem intrinsic canary tests for InstCombine.

Summary:
Add canary tests to verify that InstCombine currently does nothing with the element atomic memory intrinsics for memmove and memset.

Placeholder tests that will fail once element atomic @llvm.mem[move|set] instrinsics have been added to the MemIntrinsic class hierarchy. These will act as a reminder to verify that inst combine handles these intrinsics properly once they have been added to that class hierarchy.

Reviewers: reames

Reviewed By: reames

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308247 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/element-atomic-memintrins.ll [new file with mode: 0644]