HomePhabricator

[CodeGenObjC] Fix a nullptr dyn_cast

Authored by erik.pilkington on Feb 25 2019, 1:35 PM.

Description

[CodeGenObjC] Fix a nullptr dyn_cast

ObjCMessageExpr::getInstanceReceiver returns nullptr if the receiver
is 'super'. Make this check more strict, since we don't care about
messages to super here.

rdar://48247290

llvm-svn: 354826

Details

Committed
erik.pilkingtonFeb 25 2019, 1:35 PM
Parents
rGf4bfe4cd178e: AMDGPU/GlobalISel: Fix bit ops for non-power-of-2 sizes
Branches
Unknown
Tags
Unknown