llvm-6502/test
Rafael Espindola 9718158222 Revert "Add r159136 back now that pr13124 has been fixed."
This reverts commit r189886.

I found a corner case where this optimization is not valid:

Say we have a "linkonce_odr unnamed_addr" in two translation units:
* In TU 1 this optimization kicks in and makes it hidden.
* In TU 2 it gets const merged with a constant that is *not* unnamed_addr,
  resulting in a non unnamed_addr constant with default visibility.
* The static linker rules for combining visibility them produce a hidden
  symbol, which is incorrect from the point of view of the non unnamed_addr
  constant.

The one place we can do this is when we know that the symbol is not used from
another TU in the same shared object, i.e., during LTO. I will move it there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189954 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-04 16:09:01 +00:00
..
Analysis Fix lint assert on integer vector division 2013-08-26 23:29:33 +00:00
Assembler Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen [Sparc] Fix an assertion failure while lowering fcmp on long double. 2013-09-04 15:15:20 +00:00
DebugInfo Revert "Revert "Remove the darwin gdb option, that version of gdb is now dead and the rest of the compatibility should be done on a dwarf-N level."" 2013-09-04 04:39:38 +00:00
ExecutionEngine llvm interpreter: select, shuffle and insertelement instructions. 2013-09-02 06:40:09 +00:00
Feature
FileCheck
Instrumentation [msan] Fix handling of select with struct arguments. 2013-09-03 13:05:29 +00:00
Integer
JitListener Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
Linker Error on linking appending globals with different unnamed_addr. 2013-09-04 15:33:34 +00:00
MC Inplement aarch64 neon instructions in AdvSIMD(shift). About 24 shift instructions: 2013-09-04 09:28:24 +00:00
Object Add a minimal implementation of ranlib. 2013-08-28 16:22:16 +00:00
Other
TableGen
tools Print string value for DT_RPATH and DT_RUNPATH. 2013-09-03 17:13:53 +00:00
Transforms Revert "Add r159136 back now that pr13124 has been fixed." 2013-09-04 16:09:01 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg Restore llvm-ranlib expansion in RUN-lines removed in r184019 2013-08-30 12:53:22 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh