[LoopFuse] Add assertion for non-null DT in fusion candidate
authorAnna Thomas <anna@azul.com>
Tue, 1 Feb 2022 21:46:02 +0000 (16:46 -0500)
committerAnna Thomas <anna@azul.com>
Tue, 1 Feb 2022 22:00:09 +0000 (17:00 -0500)
commitf50821cff048209bfb98991b978c87cf24d37904
treef4cc6be55572021b74dd885fe721f7a55e63d36b
parentbc48a266554740bbedbc155deda2aa81b9a1602d
[LoopFuse] Add assertion for non-null DT in fusion candidate

The code paths analyzed (all constructor invocations of fusion
candidate) pass in a non-null DT.
Adding this assert as requested in D118472 before converting this to a
reference argument.
llvm/lib/Transforms/Scalar/LoopFuse.cpp