[PhaseOrdering] Add test for loop over span with hardened libc++.
authorFlorian Hahn <flo@fhahn.com>
Fri, 26 May 2023 19:58:05 +0000 (20:58 +0100)
committerFlorian Hahn <flo@fhahn.com>
Fri, 26 May 2023 19:58:05 +0000 (20:58 +0100)
commit7c91d82ab912fae8bafc1137d4c9b17bcfb7eba7
tree99ab3a60b219d40de2f0cf2ae05f8cd457a4ca0d
parente0ca7e99914609bbed0f30f4834a93d33dcef085
[PhaseOrdering] Add test for loop over span with hardened libc++.

Add a slightly reduced test case for a loop iterating over a std::span
with libc++ hardening.

See https://godbolt.org/z/cKerYq9fY.
llvm/test/Transforms/PhaseOrdering/iterator-with-runtime-check.ll [new file with mode: 0644]