[DSE,MemorySSA] Keep single DL instance in DSEState (NFC).
authorFlorian Hahn <flo@fhahn.com>
Sun, 23 Aug 2020 14:55:48 +0000 (15:55 +0100)
committerFlorian Hahn <flo@fhahn.com>
Sun, 23 Aug 2020 14:56:38 +0000 (15:56 +0100)
commit2843c9fe0a50470d231a4c29540c46aa631295d8
tree31bd00a04a9d6e25556f3fce616cf502e5ef60a5
parent1d0fa798248f2d4e7a3b5b6d6465edb41d13354d
[DSE,MemorySSA] Keep single DL instance in DSEState (NFC).

Small cleanup, also removes one instance of getting DataLayout without
using it later.
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp