[InstCombine] Add additional tests for strlen/strnlen (NFC)
authorMartin Sebor <msebor@redhat.com>
Fri, 1 Apr 2022 14:58:38 +0000 (16:58 +0200)
committerNikita Popov <npopov@redhat.com>
Fri, 1 Apr 2022 14:58:38 +0000 (16:58 +0200)
commit884d7c60f367dd753f0528b28f0029edc1b91c5e
treed9743ed6151326f3a4b9564e60490d50ab182cf6
parentcd55e51516f03203f3bf632ff4a65ae7518a8319
[InstCombine] Add additional tests for strlen/strnlen (NFC)

Taken from D122686.
llvm/test/Transforms/InstCombine/strlen-4.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strnlen-1.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strnlen-2.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strnlen-3.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strnlen-4.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strnlen-5.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/strnlen-6.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/wcslen-5.ll [new file with mode: 0644]