nv50/ir: Add DeadCodeElim constructor.
authorVinson Lee <vlee@freedesktop.org>
Thu, 2 Sep 2021 10:11:14 +0000 (03:11 -0700)
committerVinson Lee <vlee@freedesktop.org>
Mon, 6 Sep 2021 04:40:09 +0000 (21:40 -0700)
commit9b6c641cb5c6c13f69301c5b7b96f47387b7b8d0
tree08da689ae881da734a0c450e241408ae5c2cb48f
parent5d91cf41f1d81cb1c070ca4edf948d471c9ea911
nv50/ir: Add DeadCodeElim constructor.

Fix defect reported by Coverity Scan.

Uninitialized scalar field (UNINIT_CTOR)
member_not_init_in_gen_ctor: The compiler-generated constructor
for this class does not initialize deadCount.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12697>
src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp