HomePhabricator

InstrEmitter.cpp - don't dereference a dyn_cast<>.

Authored by RKSimon on Jun 8 2021, 8:42 AM.

Description

InstrEmitter.cpp - don't dereference a dyn_cast<>.

dyn_cast<> can return nullptr which we would then dereference - use cast<> which will assert that the type is correct.

Details

Committed
RKSimonJun 8 2021, 9:59 AM
Parents
rGea10a86984ea: [AMDGPU] Add gfx1013 target
Branches
Unknown
Tags
Unknown