mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-01 07:10:37 +00:00
d32d86bc38
The "takeName" logic at the end of ScalarizerVisitor::finish could end up renaming global variables when having simplified and extractelement instruction to simply pick a single vector element. If the input vector to the extractelement instruction held pointers to global variables we ended up renaming the global variable. The patch make sure we only take the name of the replaced Op when we have added new instructions that might need a useful name. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D86472 |
||
---|---|---|
.. | ||
basic.ll | ||
cache-bug.ll | ||
constant-extractelement.ll | ||
constant-insertelement.ll | ||
crash-bug.ll | ||
dbginfo.ll | ||
dbgloc-bug.ll | ||
global-bug.ll | ||
intrinsics.ll | ||
order-bug.ll | ||
phi-bug.ll | ||
phi-unreachable-pred.ll | ||
scatter-order.ll | ||
store-bug.ll | ||
variable-extractelement.ll | ||
variable-insertelement.ll | ||
vector-gep.ll |