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)
commitdf4663be6a9dd427ee0b73a1ea47d6791e5dfc53
treee14a13b7590d2fcc86da92c10eb5efb08d731319
parent50a9cd70ac6da4281b541c38f0acd7b86f322f74
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213229 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUTargetTransformInfo.cpp