diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-05-22 16:13:07 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2018-05-22 16:13:07 +0000 |
commit | 00ddbed2981b46a59bf1b64c9d63cfecb9299f09 (patch) | |
tree | 68bb85f75417c69306e7e1ed10a6826d3098ccca /clang/lib/CodeGen/CGCleanup.cpp | |
parent | 41f4b64ee17cc5559a687ce9ac9338a158a00d41 (diff) | |
download | bcm5719-llvm-00ddbed2981b46a59bf1b64c9d63cfecb9299f09.tar.gz bcm5719-llvm-00ddbed2981b46a59bf1b64c9d63cfecb9299f09.zip |
Revert r332982 Call CreateTempMemWithoutCast for ActiveFlag
Due to regression on arm.
llvm-svn: 332991
Diffstat (limited to 'clang/lib/CodeGen/CGCleanup.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCleanup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGCleanup.cpp b/clang/lib/CodeGen/CGCleanup.cpp index ca8037030c4..c5f935bdef5 100644 --- a/clang/lib/CodeGen/CGCleanup.cpp +++ b/clang/lib/CodeGen/CGCleanup.cpp @@ -283,8 +283,8 @@ void EHScopeStack::popNullFixups() { void CodeGenFunction::initFullExprCleanup() { // Create a variable to decide whether the cleanup needs to be run. - Address active = CreateTempAllocaWithoutCast( - Builder.getInt1Ty(), CharUnits::One(), "cleanup.cond"); + Address active = CreateTempAlloca(Builder.getInt1Ty(), CharUnits::One(), + "cleanup.cond"); // Initialize it to false at a site that's guaranteed to be run // before each evaluation. |