aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-07-15 16:25:36 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-07-15 16:34:34 +0300
commit3e6c383dc63685a6248fd6f1ffabad0b42af99a0 (patch)
treee87b8952aaefec5f5160e5f3eb3634dde45c353b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent74b88807ae761da3ae1d5eb947d242a3492e23d0 (diff)
downloadllvm-3e6c383dc63685a6248fd6f1ffabad0b42af99a0.zip
llvm-3e6c383dc63685a6248fd6f1ffabad0b42af99a0.tar.gz
llvm-3e6c383dc63685a6248fd6f1ffabad0b42af99a0.tar.bz2
[SimplifyCFG] Rerun PHI deduplication after common code sinkinkg (PR51092)
`SinkCommonCodeFromPredecessors()` doesn't itself ensure that duplicate PHI nodes aren't created. I suppose, we could teach it to do that on-the-fly (& account for the already-existing PHI nodes, & adjust costmodel), the diff will be bigger than this. The alternative is to schedule a new EarlyCSE pass invocation somewhere later in the pipeline. Clearly, we don't have any EarlyCSE runs in module optimization passline, so this pattern isn't cleaned up... That would perhaps better, but it will again have some compile time impact. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D106010
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions