[CallSiteInfo] Handle bundles when updating call site info
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>
Thu, 27 Feb 2020 10:44:53 +0000 (11:44 +0100)
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>
Thu, 27 Feb 2020 12:57:06 +0000 (13:57 +0100)
commit016d91ccbd4d434aa90fbfa6fd28e9da1abc9279
tree6f5bd8ac2fe4db9052351fa2dd0f527074a0664d
parentfa9439fac84ea4eb4050aa1ae150c0ec2cf86c20
[CallSiteInfo] Handle bundles when updating call site info

This will address the issue: P8198 and P8199 (from D73534).

The methods was not handle bundles properly.

Differential Revision: https://reviews.llvm.org/D74904
16 files changed:
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/include/llvm/CodeGen/MachineInstr.h
llvm/lib/CodeGen/BranchFolding.cpp
llvm/lib/CodeGen/IfConversion.cpp
llvm/lib/CodeGen/LiveRangeEdit.cpp
llvm/lib/CodeGen/MachineFunction.cpp
llvm/lib/CodeGen/MachineInstr.cpp
llvm/lib/CodeGen/MachineLICM.cpp
llvm/lib/CodeGen/MachineOutliner.cpp
llvm/lib/CodeGen/PeepholeOptimizer.cpp
llvm/lib/CodeGen/TailDuplicator.cpp
llvm/lib/CodeGen/TargetInstrInfo.cpp
llvm/lib/CodeGen/UnreachableBlockElim.cpp
llvm/lib/CodeGen/XRayInstrumentation.cpp
llvm/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
llvm/test/CodeGen/Thumb2/call-site-info-update.ll [new file with mode: 0644]