diff options
author | Florian Hahn <florian.hahn@arm.com> | 2016-11-18 13:12:07 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2016-11-18 13:12:07 +0000 |
commit | 77382be56b3f1ff11cb7e44e6cccb0f429781e01 (patch) | |
tree | 417d59f1c8c46d3893e4a59d8a53aad4d4668f65 /clang/lib/AST/ASTContext.cpp | |
parent | 7938bd666ebbff9c5985613867dee8826ffbdb6c (diff) | |
download | bcm5719-llvm-77382be56b3f1ff11cb7e44e6cccb0f429781e01.tar.gz bcm5719-llvm-77382be56b3f1ff11cb7e44e6cccb0f429781e01.zip |
[simplifycfg][loop-simplify] Preserve loop metadata in 2 transformations.
insertUniqueBackedgeBlock in lib/Transforms/Utils/LoopSimplify.cpp now
propagates existing llvm.loop metadata to newly the added backedge.
llvm::TryToSimplifyUncondBranchFromEmptyBlock in lib/Transforms/Utils/Local.cpp
now propagates existing llvm.loop metadata to the branch instructions in the
predecessor blocks of the empty block that is removed.
Differential Revision: https://reviews.llvm.org/D26495
llvm-svn: 287341
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
0 files changed, 0 insertions, 0 deletions