AMDGPU: Remove pointless dyn_cast_or_null
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 18 Jul 2016 19:00:07 +0000 (19:00 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 18 Jul 2016 19:00:07 +0000 (19:00 +0000)
commit210b7cf3e2592cd3c2ea227a9ee5ebd4a72e3ed5
treeff0ba41b12dace1677595ca6f4b72178a64a0bc7
parentd2387432bb569b1e96ff22839fe2cae25343e3f7
AMDGPU: Remove pointless dyn_cast_or_null

This is already casted above so non-null

llvm-svn: 275881
llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp