[GVN] Add test for load GVN with dead block (NFC)
What this test illustrates is that GVN inserts an unnecessary phi node initially, which prevents alias analysis from establishing NoAlias, and MDA caches that result. We would be able to fully fold this after another -gvn run with clean MDA.
parent
e6a10446
Please register or sign in to comment