aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-12-17 13:42:29 +0000
committerFlorian Hahn <flo@fhahn.com>2020-12-17 14:06:58 +0000
commit75c04bfc61d6cc5623eadd8a04f86c315dacd823 (patch)
tree42b6f661a70e6161fb9ded4de42be08f6819d751 /clang/lib/CodeGen/CodeGenModule.cpp
parent01383999037760288f617e24084991eaf6bd9272 (diff)
downloadllvm-75c04bfc61d6cc5623eadd8a04f86c315dacd823.zip
llvm-75c04bfc61d6cc5623eadd8a04f86c315dacd823.tar.gz
llvm-75c04bfc61d6cc5623eadd8a04f86c315dacd823.tar.bz2
[SimplifyCFG] Preserve !annotation in FoldBranchToCommonDest.
When folding a branch to a common destination, preserve !annotation on the created instruction, if the terminator of the BB that is going to be removed has !annotation. This should ensure that !annotation is attached to the instructions that 'replace' the original terminator. Reviewed By: jdoerfert, lebedev.ri Differential Revision: https://reviews.llvm.org/D93410
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions