[SimplifyCFG] Try 2: sink all-indirect indirect calls
authorRoman Lebedev <lebedev.ri@gmail.com>
Wed, 28 Apr 2021 15:28:39 +0000 (18:28 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Wed, 28 Apr 2021 16:08:54 +0000 (19:08 +0300)
commitd16d820c2e6400aa2242efcedbfa824fbfa2fc09
tree3dda6701a7152c2bcdcbc406e8bf5cc86ae880ff
parent38dd222b4a5bc29eed5be90f85ca754a521b0cd2
[SimplifyCFG] Try 2: sink all-indirect indirect calls

Note that we don't want to turn a partially-direct call
into an indirect one, that will break ICP amongst other things.
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll