R600: Short circuit alloca check if address space isn't private.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 17 Jul 2014 06:13:41 +0000 (06:13 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 17 Jul 2014 06:13:41 +0000 (06:13 +0000)
commit5e2b0f51e7032895bf3f83707b348e2d8c073a42
tree8bc0caa2f9d1edf618f5fa1711420d5735c39308
parentde409fd798152e4d1dfe1273ea8fadbcd890a68e
R600: Short circuit alloca check if address space isn't private.

Skip calling GetUnderlyingObject in cases where it obviously
isn't from an alloca. This should only be a compile time improvement.

llvm-svn: 213229
llvm/lib/Target/R600/AMDGPUTargetTransformInfo.cpp