llvm-project/llvm/test/Transforms/Scalarizer
Bjorn Pettersson fce44ff5da [Scalarizer] Avoid updating the name of globals
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
2020-08-24 21:55:03 +02:00
..
basic.ll [Scalarizer] Avoid updating the name of globals 2020-08-24 21:55:03 +02:00
cache-bug.ll
constant-extractelement.ll [Scalarizer] ExtractElement handling w/ constant extract index 2020-07-06 13:19:32 +03:00
constant-insertelement.ll [Scalarizer] InsertElement handling w/ constant insert index 2020-07-06 13:19:32 +03:00
crash-bug.ll [Scalarizer] When gathering scattered scalar, don't replace it with itself 2020-07-07 17:03:53 +03:00
dbginfo.ll Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
dbgloc-bug.ll
global-bug.ll [Scalarizer] Avoid updating the name of globals 2020-08-24 21:55:03 +02:00
intrinsics.ll
order-bug.ll
phi-bug.ll
phi-unreachable-pred.ll [Scalarizer] Centralize instruction DCE 2020-07-07 01:12:51 +03:00
scatter-order.ll [Scalarizer] Fix a non-deterministic scatter order problem 2020-04-20 16:05:33 +02:00
store-bug.ll
variable-extractelement.ll [Scalarizer] ExtractElement handling w/ variable insert index (PR46524) 2020-07-06 13:19:33 +03:00
variable-insertelement.ll [Scalarizer] InsertElement handling w/ variable insert index (PR46524) 2020-07-06 13:19:32 +03:00
vector-gep.ll