[PhaseOrdering] Add test showing mis-compile caused by 17fdaccccf.
authorFlorian Hahn <flo@fhahn.com>
Wed, 21 Jun 2023 20:15:13 +0000 (21:15 +0100)
committerFlorian Hahn <flo@fhahn.com>
Wed, 21 Jun 2023 20:15:14 +0000 (21:15 +0100)
commit04a7c672ab302d972ceabe43b1bbcdb2aa5ebe71
tree03b81c928c7a03845a07de282ce9c4cc58c7cae5
parent42adbb1b2d8fff7dc8e495f2954ec965acf65d91
[PhaseOrdering] Add test showing mis-compile caused by 17fdaccccf.

The test shows a mis-compile where @test gets incorrectly simplified to
unreachable. The test case is reduced from a ThinLTO build of Clang,
with only the relevant pass sequence included.
llvm/test/Transforms/PhaseOrdering/dse-ephemeral-value-captures.ll [new file with mode: 0644]