llvm-6502/test
Rafael Espindola 3d41cbb3f4 Fix the merging of the constantness of declarations.
The langref says:

LLVM explicitly allows declarations of global variables to be marked
constant, even if the final definition of the global is not. This
capability can be used to enable slightly better optimization of the
program, but requires the language definition to guarantee that
optimizations based on the ‘constantness’ are valid for the
translation units that do not include the definition.

Given that definition, when merging two declarations, we have to drop
constantness if of of them is not marked contant, since the Module
without the constant marker might not have the necessary guarantees.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220927 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-30 20:50:23 +00:00
..
Analysis
Assembler
Bindings [OCaml] Expose LLVM{Get,Set}DLLStorageClass. 2014-10-30 08:30:08 +00:00
Bitcode
BugPoint
CodeGen ARM: test default values for TAG_CPU_unaligned_access attribute. 2014-10-30 17:05:44 +00:00
DebugInfo PR21408: Workaround the appearance of duplicate variables due to problems when inlining two calls to the same function from the same call site. 2014-10-30 20:20:11 +00:00
ExecutionEngine [MCJIT] Defer application of AArch64 MachO GOT relocations until resolve time. 2014-10-21 23:41:15 +00:00
Feature
FileCheck
Instrumentation [dfsan] New calling convention for custom functions with variadic arguments. 2014-10-30 13:22:57 +00:00
Integer
JitListener
Linker Fix the merging of the constantness of declarations. 2014-10-30 20:50:23 +00:00
LTO
MC [AVX512] Added VBROADCAST{SS/SD} encoding for VL subset. 2014-10-30 14:21:47 +00:00
Object Fix getRelocationValueString to return the symbol name for EM_386. 2014-10-29 18:37:13 +00:00
Other
TableGen
tools Enable the slp vectorizer in the gold plugin. 2014-10-30 00:38:54 +00:00
Transforms Add handling for range metadata in ValueTracking isKnownNonZero 2014-10-30 20:25:19 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Make llvm-go test dependency optional. 2014-10-23 19:51:40 +00:00
lit.cfg lit: PR21417: don't try to update OCAMLPATH if LibDir is empty. 2014-10-30 19:26:42 +00:00
lit.site.cfg.in [OCaml] [autoconf] Migrate to ocamlfind. 2014-10-30 08:29:45 +00:00
Makefile [OCaml] [autoconf] Migrate to ocamlfind. 2014-10-30 08:29:45 +00:00
Makefile.tests
TestRunner.sh