]> granicus.if.org Git - llvm/commit
[CGP, x86] add tests for potential memcmp expansion; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 8 Jun 2017 20:40:39 +0000 (20:40 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 8 Jun 2017 20:40:39 +0000 (20:40 +0000)
commit5c9336eb2bcd64ef22b18e431c9ab0b8d6596386
tree34bcdd24a31c36b37818bf457dfeb8e7ae810a68
parent1d3e685c4b06aeea9fa9769e75922b914cb58647
[CGP, x86] add tests for potential memcmp expansion; NFC

No IR tests were added with rL304313 ( https://reviews.llvm.org/D28637 ),
so I want these for extra coverage if we enable memcmp expansion for x86.
As shown, nothing is expanded for x86 in CGP yet.

Also fundamentally, we're doing an IR transform, so we should have IR tests
for just that part. If something goes wrong, we need to know if the bug is
in CGP or later lowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305011 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/CodeGenPrepare/X86/memcmp.ll [new file with mode: 0644]