[SimplifyLibcalls] Tests for libcall folding of subobjects [NFC]
authorMartin Sebor <msebor@redhat.com>
Fri, 6 May 2022 16:34:13 +0000 (10:34 -0600)
committerMartin Sebor <msebor@redhat.com>
Fri, 6 May 2022 16:43:02 +0000 (10:43 -0600)
commitcc2ce81bd859ec5c3b698cf2039e273264bb6abe
tree378746fa72b4fb56275c486e6d4880fdbe04490a
parent2ca78d2bdfaf14e0cfd20dfa5ee53c6d12643e07
[SimplifyLibcalls] Tests for libcall folding of subobjects [NFC]

Add tests exercising the future enancement of folding library function
calls with arguments involving subobjects such as elements of arrays
or struct members.
13 files changed:
llvm/test/Transforms/InstCombine/memchr-5.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/memcmp-3.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/memcmp-4.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/memrchr-5.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/sprintf-2.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/str-int-3.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strcmp-3.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strcmp-4.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strlen-5.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strlen-6.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strlen-7.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strlen-8.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strncmp-4.ll [new file with mode: 0644]