SuccessChanges

Summary

  1. [DSE,MemorySSA] Simplify code, EarlierAccess is be a MemoryDef (NFC). (details)
  2. [GVN] add test for commutative intrinsic; NFC (details)
  3. [NewGVN] add test for commutative intrinsic; NFC (details)
Commit 42c57c294dfbd8ea82cd61c709289480f513211b by flo
[DSE,MemorySSA] Simplify code, EarlierAccess is be a MemoryDef (NFC).

After recent changes, we return early if Current is a MemoryPhi, so
EarlierAccess can only be a MemoryDef.
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp (diff)
Commit 58b46231f3b715f5a7a81007064c241a9a37d2a2 by spatel
[GVN] add test for commutative intrinsic; NFC
The file was modifiedllvm/test/Transforms/GVN/commute.ll (diff)
Commit 342fea366f907e09eb12b12cfdeba7e9a056c2a3 by spatel
[NewGVN] add test for commutative intrinsic; NFC
The file was modifiedllvm/test/Transforms/NewGVN/commute.ll (diff)