summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit
diff options
context:
space:
mode:
authorYaxun Liu <Yaxun.Liu@amd.com>2018-05-22 14:36:26 +0000
committerYaxun Liu <Yaxun.Liu@amd.com>2018-05-22 14:36:26 +0000
commit8a60e5db701ed04926e120142dbb7bdb0528010a (patch)
tree5de222c863122e3d87ded29cff42f8178d39c5fe /llvm/utils/lit
parent488ebfb73224c8dc082aea56562a007b660426e6 (diff)
downloadbcm5719-llvm-8a60e5db701ed04926e120142dbb7bdb0528010a.tar.gz
bcm5719-llvm-8a60e5db701ed04926e120142dbb7bdb0528010a.zip
Call CreateTempMemWithoutCast for ActiveFlag
Introduced CreateMemTempWithoutCast and CreateTemporaryAllocaWithoutCast to emit alloca without casting to default addr space. ActiveFlag is a temporary variable emitted for clean up. It is defined as AllocaInst* type and there is a cast to AlllocaInst in SetActiveFlag. An alloca casted to generic pointer causes assertion in SetActiveFlag. Since there is only load/store of ActiveFlag, it is safe to use the original alloca, therefore use CreateMemTempWithoutCast is called. Differential Revision: https://reviews.llvm.org/D47099 llvm-svn: 332982
Diffstat (limited to 'llvm/utils/lit')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud